Coverage Report

Created: 2018-07-03 15:31

/home/travis/build/MoarVM/MoarVM/src/6model/reprs/P6num.h
Line
Count
Source (jump to first uncovered line)
1
0
#define MVM_P6NUM_C_TYPE_FLOAT       -1
2
0
#define MVM_P6NUM_C_TYPE_DOUBLE      -2
3
0
#define MVM_P6NUM_C_TYPE_LONGDOUBLE  -3
4
5
/* Representation used by P6 nums. */
6
struct MVMP6numBody {
7
    /* Float storage slot. */
8
    union {
9
        MVMnum64 n64;
10
        MVMnum32 n32;
11
    } value;
12
};
13
struct MVMP6num {
14
    MVMObject common;
15
    MVMP6numBody body;
16
};
17
18
/* The bit width requirement is shared for all instances of the same type. */
19
struct MVMP6numREPRData {
20
    MVMint16       bits;
21
    MVMStorageSpec storage_spec;
22
};
23
24
/* Function for REPR setup. */
25
const MVMREPROps * MVMP6num_initialize(MVMThreadContext *tc);