acadia-newlib/newlib/libm
Fabian Schriever c56f53a2a0 Fix truncf for sNaN input
Make line 47 in sf_trunc.c reachable. While converting the double
precision function trunc to the single precision version truncf an error
was introduced into the special case. This special case is meant to
catch both NaNs and infinities, however qNaNs and infinities work just
fine with the simple return of x (line 51). The only error occurs for
sNaNs where the same sNaN is returned and no invalid exception is
raised.
2020-03-11 12:10:58 +01:00
..
common Fix truncf for sNaN input 2020-03-11 12:10:58 +01:00
complex Remove matherr, and SVID and X/Open math library configurations 2019-01-23 10:46:24 +01:00
fenv Add patch from Joel Sherrill for i386 and x86_64 fenv support 2019-10-08 16:59:04 -04:00
machine i386/fenv.c: Include fenv.c implementation shared with x86_64, not stub 2020-03-10 16:05:59 +01:00
math Fix error in exp in magnitude [2e-32,2e-28] 2020-03-09 10:12:25 +01:00
mathfp Remove matherr, and SVID and X/Open math library configurations 2019-01-23 10:46:24 +01:00
test Remove matherr, and SVID and X/Open math library configurations 2019-01-23 10:46:24 +01:00
Makefile.am Add default implementation of fenv.h and all methods 2019-08-09 17:49:16 +02:00
Makefile.in Fix some generated files 2019-10-31 14:52:04 -04:00
aclocal.m4 Fix libm regenerated files again. 2016-02-17 17:06:46 -05:00
config.h.in import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
configure Bump up newlib release to 3.3.0 2020-01-21 15:17:43 -05:00
configure.in Add default implementation of fenv.h and all methods 2019-08-09 17:49:16 +02:00
libm.in.xml fenv: Include documentation in generated .info file 2019-08-15 12:04:50 +02:00
libm.texinfo fenv: Include documentation in generated .info file 2019-08-15 12:04:50 +02:00