glibc/sysdeps/alpha/fpu
Aurelien Jarno 65cc568cf5 alpha: fix floor on sNaN input
The alpha version of floor wrongly return sNaN for sNaN input. Fix that
by checking for NaN and by returning the input value added with itself
in that case.

Finally remove the code to handle inexact exception, floor should never
generate such an exception.

Changelog:
	* sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
	when it is a NaN.
	[_IEEE_FP_INEXACT] Remove.
	* sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
2016-08-02 09:18:59 +02:00
..
bits Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
cabsf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
cargf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
cfloat-compat.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
cimagf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
conjf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
crealf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
e_sqrt.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
e_sqrtf.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
fclrexcpt.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
fedisblxcpt.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
feenablxcpt.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
fegetenv.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
fegetexcept.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
fegetround.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
feholdexcpt.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
fenv_libc.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
fesetenv.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
fesetround.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
feupdateenv.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
fgetexcptflg.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
fpu_control.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
fsetexcptflg.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
ftestexcept.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
get-rounding-mode.h Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
libm-test-ulps Update Alpha libm-test-ulps 2016-01-25 10:43:41 -08:00
math_private.h alpha: Implement math_opt_barrier and math_force_eval 2014-07-03 08:56:55 -07:00
s_cacosf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_cacoshf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_casinf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_casinhf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_catanf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_catanhf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_ccosf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_ccoshf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_ceil.c alpha: fix ceil on sNaN input 2016-08-02 09:18:59 +02:00
s_ceilf.c alpha: fix ceil on sNaN input 2016-08-02 09:18:59 +02:00
s_cexpf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_clog10f.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_clogf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_copysign.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_copysignf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_cpowf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_cprojf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_csinf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_csinhf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_csqrtf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_ctanf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_ctanhf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_fabs.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_fabsf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_floor.c alpha: fix floor on sNaN input 2016-08-02 09:18:59 +02:00
s_floorf.c alpha: fix floor on sNaN input 2016-08-02 09:18:59 +02:00
s_fmax.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_fmaxf.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
s_fmin.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_fminf.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
s_isnan.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_isnanf.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
s_llrint.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
s_llrintf.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
s_llround.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
s_llroundf.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
s_lrint.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_lrintf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_lround.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_lroundf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_nearbyint.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_rint.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_rintf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_trunc.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_truncf.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
Versions Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00