bionic/libm
Jack Ren bd0383acf8 libm: fix invalid result of function remquo/remquof
Currently we will get the wrong result as follows:
remquof(0x7bb33336, 0x63000000) = -671088640, 0x00000000
remquo(0xbff0000000000003, 0x3ff0000000000003) = 1, 0x8000000000000000
remquo(0x9120000000000001, 0x0000000000000005) = -1288490188, 0x0000000000000004
while the correct one should be:
remquof(0x7bb33336, 0x63000000) = 1476395008, 0x00000000
remquo(0xbff0000000000003, 0x3ff0000000000003) = -1, 0x8000000000000000
remquo(0x9120000000000001, 0x0000000000000005) = -1288490189, 0x0000000000000001

Fixed in this patch.

Change-Id: I540b348cd10a539f3b39b1753945c893c4c7ec46
Signed-off-by: Jingwei Zhang <jingwei.zhang@intel.com>
Signed-off-by: Jin Wei <wei.a.jin@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
2012-04-10 12:55:43 +08:00
..
alpha Initial Contribution 2008-10-21 07:00:00 -07:00
amd64 Initial Contribution 2008-10-21 07:00:00 -07:00
arm Initial Contribution 2008-10-21 07:00:00 -07:00
bsdsrc Reversed order of const and static to hush warning from compiler. 2010-01-16 10:23:18 -05:00
i386 Initial Contribution 2008-10-21 07:00:00 -07:00
i387 Bionic: x86: Fix libm macro definitions 2011-09-29 17:35:33 +02:00
ia64 Initial Contribution 2008-10-21 07:00:00 -07:00
include resolved conflicts for merge of 6cda7b62 to gingerbread-plus-aosp 2011-09-30 05:56:51 +02:00
man Initial Contribution 2008-10-21 07:00:00 -07:00
powerpc Initial Contribution 2008-10-21 07:00:00 -07:00
sh added and modified libm to support SuperH architecture 2009-08-31 16:25:42 +09:00
sparc64 Initial Contribution 2008-10-21 07:00:00 -07:00
src libm: fix invalid result of function remquo/remquof 2012-04-10 12:55:43 +08:00
Android.mk remove obsolete SuperH support 2012-01-31 20:28:23 +01:00
fpclassify.c Initial Contribution 2008-10-21 07:00:00 -07:00
isinf.c Initial Contribution 2008-10-21 07:00:00 -07:00
Makefile-orig Initial Contribution 2008-10-21 07:00:00 -07:00
MODULE_LICENSE_BSD_LIKE Initial Contribution 2008-10-21 07:00:00 -07:00
NOTICE Initial Contribution 2008-10-21 07:00:00 -07:00
sincos.c Disable sincos optimization for sincos calls. 2011-08-17 10:29:41 -07:00