7a22215c53
shifts into the sign bit. Instead use (1U << 31) which gets the expected result. This fix is not ideal as it assumes a 32 bit int, but does fix the issue for most cases. A similar change was made in OpenBSD. Discussed with: -arch, rdivacky Reviewed by: cperciva |
||
---|---|---|
.. | ||
fpu_add.c | ||
fpu_arith.h | ||
fpu_compare.c | ||
fpu_div.c | ||
fpu_emu.c | ||
fpu_emu.h | ||
fpu_explode.c | ||
fpu_extern.h | ||
fpu_implode.c | ||
fpu_instr.h | ||
fpu_mul.c | ||
fpu_sqrt.c | ||
fpu_subr.c |