[PATCH] ARM: 2841/1: Fix VFP +/-0 case for doubles addition
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 3 Aug 2005 18:53:25 +0000 (19:53 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 3 Aug 2005 18:53:25 +0000 (19:53 +0100)
commit7b1fbf292bb4c855ddae8add8c459e94684f7543
tree8269bb5c858aaa0a0483cb81759ca947e0b396c1
parent858297509590ef4aa5690e30c2f5505077b4f369
[PATCH] ARM: 2841/1: Fix VFP +/-0 case for doubles addition

Patch from Catalin Marinas

The IEEE 754 standard specifies that the result of (x - x), where x is
a valid number, should be -0 if the rounding mode is towards minus
infinity or +0 otherwise.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/vfp/vfpdouble.c