Lines Matching +full:- +full:c

16 	duk_uint8_t c[8];  member
33 duk_uint8_t c[8]; member
85 test = -1; in duk__selftest_twos_complement()
110 u1.c[0] = 0xef; u1.c[1] = 0xbe; u1.c[2] = 0xad; u1.c[3] = 0xde; in duk__selftest_byte_order()
114 u1.c[0] = 0xde; u1.c[1] = 0xad; u1.c[2] = 0xbe; u1.c[3] = 0xef; in duk__selftest_byte_order()
120 u2.c[0] = 0x00; u2.c[1] = 0x00; u2.c[2] = 0xc4; u2.c[3] = 0x6d; in duk__selftest_byte_order()
121 u2.c[4] = 0x7c; u2.c[5] = 0xc1; u2.c[6] = 0x37; u2.c[7] = 0x42; in duk__selftest_byte_order()
123 u2.c[0] = 0x7c; u2.c[1] = 0xc1; u2.c[2] = 0x37; u2.c[3] = 0x42; in duk__selftest_byte_order()
124 u2.c[4] = 0x00; u2.c[5] = 0x00; u2.c[6] = 0xc4; u2.c[7] = 0x6d; in duk__selftest_byte_order()
126 u2.c[0] = 0x42; u2.c[1] = 0x37; u2.c[2] = 0xc1; u2.c[3] = 0x7c; in duk__selftest_byte_order()
127 u2.c[4] = 0x6d; u2.c[5] = 0xc4; u2.c[6] = 0x00; u2.c[7] = 0x00; in duk__selftest_byte_order()
170 du_diff = du.d - 2.008366013071895; in duk__selftest_bswap_macros()
174 if (du_diff > 1e-15) { in duk__selftest_bswap_macros()
177 * Linux gcc-4.8 -m32 at least). in duk__selftest_bswap_macros()
201 * Union aliasing, see misc/clang_aliasing.c.
207 /* This testcase fails when Emscripten-generated code runs on Firefox. in duk__selftest_double_aliasing()
220 a.c[0] = 0x11; a.c[1] = 0x22; a.c[2] = 0x33; a.c[3] = 0x44; in duk__selftest_double_aliasing()
221 a.c[4] = 0x00; a.c[5] = 0x00; a.c[6] = 0xf1; a.c[7] = 0xff; in duk__selftest_double_aliasing()
226 a.c[0] = 0xff; a.c[1] = 0xf1; a.c[2] = 0x00; a.c[3] = 0x00; in duk__selftest_double_aliasing()
227 a.c[4] = 0x44; a.c[5] = 0x33; a.c[6] = 0x22; a.c[7] = 0x11; in duk__selftest_double_aliasing()
232 a.c[0] = 0x00; a.c[1] = 0x00; a.c[2] = 0xf1; a.c[3] = 0xff; in duk__selftest_double_aliasing()
233 a.c[4] = 0x11; a.c[5] = 0x22; a.c[6] = 0x33; a.c[7] = 0x44; in duk__selftest_double_aliasing()
239 * Zero sign, see misc/tcc_zerosign2.c.
246 b.d = -a.d; in duk__selftest_double_zero_sign()
274 * 64-bit arithmetic
276 * There are some platforms/compilers where 64-bit types are available
285 /* Catch a double-to-int64 cast issue encountered in practice. */ in duk__selftest_64bit_arithmetic()
302 * https://github.com/svaarala/duktape/issues/127#issuecomment-77863473 in duk__selftest_cast_double_to_small_uint()
334 * This test fails on an exotic ARM target; double-to-uint in duk__selftest_cast_double_to_uint32()
335 * cast is incorrectly clamped to -signed- int highest value. in duk__selftest_cast_double_to_uint32()