freebsd-dev/lib/msun
David Schultz 1cbd288942 Fix a bug in remquo{,f,l}, in which the quotient didn't always have the
correct sign when the remainder was 0.

Fix a separate bug in remquo alone, in which the remainder and
quotient were both off by a bit in certain cases involving subnormal
remainders.

The bugs affected all platforms except amd64 and i386, on which the
routines are implemented in assembly.

PR:		166463
Submitted by:	Ilya Burylov
MFC after:	2 weeks
2012-04-07 03:59:12 +00:00
..
amd64 Bugfix: feenableexcept() and fedisableexcept() should just return the 2011-10-21 06:25:31 +00:00
arm Add a change I missed in r230367 (don't inline arm's fenv.h functions). 2012-01-20 07:01:58 +00:00
bsdsrc Fix some non-standard variable declarations. 2011-10-16 05:37:20 +00:00
i387 Bugfix: feenableexcept() and fedisableexcept() should just return the 2011-10-21 06:25:31 +00:00
ia64 Use #include "fenv.h" instead of #include <fenv.h>. This makes it 2011-10-16 05:37:56 +00:00
ld80 Fix clang warnings. 2011-06-18 13:56:33 +00:00
ld128 Clean up the unneeded cpp macro INLINE_REM_PIO2L. 2011-05-30 19:41:28 +00:00
man Remove superfluous paragraph macro. 2012-03-25 12:13:24 +00:00
mips Use #include "fenv.h" instead of #include <fenv.h>. This makes it 2011-10-16 05:37:56 +00:00
powerpc Use #include "fenv.h" instead of #include <fenv.h>. This makes it 2011-10-16 05:37:56 +00:00
sparc64 Use #include "fenv.h" instead of #include <fenv.h>. This makes it 2011-10-16 05:37:56 +00:00
src Fix a bug in remquo{,f,l}, in which the quotient didn't always have the 2012-04-07 03:59:12 +00:00
Makefile Add an implementation of fenv.h intended for platforms that lack an FPU and 2012-01-16 04:09:17 +00:00
Symbol.map Add c{cos,sin,tan}{,h}{,f} functions. This is joint work with 2011-10-17 05:41:03 +00:00