Lines Matching +full:- +full:5
85 test = -1; in duk__selftest_twos_complement()
121 u2.c[4] = 0x7c; u2.c[5] = 0xc1; u2.c[6] = 0x37; u2.c[7] = 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()
127 u2.c[4] = 0x6d; u2.c[5] = 0xc4; u2.c[6] = 0x00; u2.c[7] = 0x00; in duk__selftest_byte_order()
168 du.uc[4] = 0x33; du.uc[5] = 0x44; du.uc[6] = 0x55; du.uc[7] = 0x66; in duk__selftest_bswap_macros()
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()
183 (unsigned int) du.uc[4], (unsigned int) du.uc[5], in duk__selftest_bswap_macros()
207 /* This testcase fails when Emscripten-generated code runs on Firefox. 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()
227 a.c[4] = 0x44; a.c[5] = 0x33; a.c[6] = 0x22; a.c[7] = 0x11; 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()
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()