Lines Matching refs:roundword
15 uint32 xh, xl, roundword; in test_rint() local
44 roundword = 0; in test_rint()
46 if (roundword & 1) in test_rint()
47 roundword |= 2; /* preserve sticky bit */ in test_rint()
48 roundword = (roundword >> 1) | ((xl & 1) << 31); in test_rint()
52 if (roundword && roundup) { in test_rint()
78 uint32 x, roundword; in test_rintf() local
104 roundword = 0; in test_rintf()
106 if (roundword & 1) in test_rintf()
107 roundword |= 2; /* preserve sticky bit */ in test_rintf()
108 roundword = (roundword >> 1) | ((x & 1) << 31); in test_rintf()
111 if (roundword && roundup) { in test_rintf()
317 uint32 roundword; in test_ldexp() local
320 roundword = 0; in test_ldexp()
322 if (roundword & 1) in test_ldexp()
323 roundword |= 2; /* preserve sticky bit */ in test_ldexp()
324 roundword = (roundword >> 1) | ((y[1] & 1) << 31); in test_ldexp()
329 if (roundword > 0x80000000 || /* round up */ in test_ldexp()
330 (roundword == 0x80000000 && (y[1] & 1))) { /* round up to even */ in test_ldexp()
339 if (roundword) in test_ldexp()
391 uint32 roundword; in test_ldexpf() local
394 roundword = 0; in test_ldexpf()
396 if (roundword & 1) in test_ldexpf()
397 roundword |= 2; /* preserve sticky bit */ in test_ldexpf()
398 roundword = (roundword >> 1) | ((y & 1) << 31); in test_ldexpf()
402 if (roundword > 0x80000000 || /* round up */ in test_ldexpf()
403 (roundword == 0x80000000 && (y & 1))) { /* round up to even */ in test_ldexpf()
410 if (roundword) in test_ldexpf()