aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/math-emu/ieee754xcpt.c
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2006-01-02 21:59:49 +0900
committerRalf Baechle <ralf@linux-mips.org>2006-02-07 13:30:25 +0000
commitc5033d780310ddc5b679ed37ccefcdb87a30ef0c (patch)
tree76d4dbd9b8a34a5540f94abf45a4ecb73ae2d0f0 /arch/mips/math-emu/ieee754xcpt.c
parentd4264f183967db9c2dae4275abb98eb1f79facb2 (diff)
[MIPS] ieee754[sd]p_neg workaround
It looks glibc's pow() assumes an unary '-' operation for any number (including NaNs) always inverts its sign bit (though IEEE754 does not specify the sign bit for NaNs). This patch make the kernel math-emu emulates real MIPS neg.[ds] instruction. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu/ieee754xcpt.c')
0 files changed, 0 insertions, 0 deletions