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

Changelog:
	* sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
	when it is a NaN.
	* sysdeps/alpha/fpu/s_rintf.c (__rintf): 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
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
s_fmin.S Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_fminf.S
s_isnan.c Update copyright dates with scripts/update-copyrights. 2016-01-04 16:05:18 +00:00
s_isnanf.c
s_llrint.c
s_llrintf.c
s_llround.c
s_llroundf.c
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 alpha: fix rint on sNaN input 2016-08-02 09:18:59 +02:00
s_rintf.c alpha: fix rint on sNaN input 2016-08-02 09:18:59 +02: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