glibc/sysdeps/ieee754/dbl-64
Ulrich Drepper 6624dbc07b [BZ #2592]
2006-06-17  Joseph S. Myers  <joseph@codesourcery.com>
	[BZ #2592]
	* math/libm-test.inc (lrint_test_tonearest): New function.
	(lrint_test_towardzero): New function.
	(lrint_test_downward): New function.
	(lrint_test_upward): New function.
	(main): Run these new tests.
	* sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Correct rounding
	of values near to 0.
	(two52): Use double not long double.
	* sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
	* sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
	(two23): Use float not double.
	* sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
	(two23): Use float not double.
	* sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
	* sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
	* sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
	* sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
2006-09-20 17:29:36 +00:00
..
asincos.tbl 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
atnat2.h 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
atnat.h 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
branred.c 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
branred.h 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
dbl2mpn.c * elf/dl-load.c (_dl_map_object_from_fd): Bail if no PT_LOAD phdrs 2003-03-14 03:59:59 +00:00
dla.h 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
doasin.c 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
doasin.h 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
dosincos.c 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
dosincos.h 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
e_acos.c Update. 2001-03-12 00:04:52 +00:00
e_acosh.c Update. 1999-07-14 00:54:57 +00:00
e_asin.c 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
e_atan2.c 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
e_atanh.c Update. 1999-07-14 00:54:57 +00:00
e_cosh.c Update. 1999-07-14 00:54:57 +00:00
e_exp2.c * sysdeps/ieee754/dbl-64/e_exp2.c: Remove section attribute from 2006-01-09 23:24:14 +00:00
e_exp.c Do not raise execptions for exp(NaN). 2003-12-28 18:57:35 +00:00
e_fmod.c Update. 1999-07-14 00:54:57 +00:00
e_gamma_r.c [BZ #552] 2004-11-21 19:58:34 +00:00
e_hypot.c Update. 1999-07-14 00:54:57 +00:00
e_j0.c Update. 2003-12-28 20:51:20 +00:00
e_j1.c Update. 2003-12-28 20:51:20 +00:00
e_jn.c Update. 2003-12-28 20:51:20 +00:00
e_lgamma_r.c Update. 2002-09-10 01:40:26 +00:00
e_log2.c Update. 2001-06-06 12:55:46 +00:00
e_log10.c Update. 1999-07-14 00:54:57 +00:00
e_log.c 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
e_pow.c 2.5-18.1 2007-07-12 18:26:36 +00:00
e_rem_pio2.c Update. 1999-07-14 00:54:57 +00:00
e_remainder.c 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
e_sinh.c Update. 1999-07-14 00:54:57 +00:00
e_sqrt.c Update. 2004-06-17 23:58:15 +00:00
halfulp.c * sysdeps/ieee754/dbl-64/halfulp.c: Mark tab54 as static and const. 2005-12-21 19:12:22 +00:00
k_cos.c Update. 2001-03-12 00:04:52 +00:00
k_rem_pio2.c Update. 1999-07-14 00:54:57 +00:00
k_sin.c Update. 2001-03-12 00:04:52 +00:00
k_tan.c Update. 1999-07-14 00:54:57 +00:00
MathLib.h 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
mpa2.h 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
mpa.c * sysdeps/ieee754/dbl-64/mpa.c: Include <sys/param.h>. 2004-08-11 18:54:46 +00:00
mpa.h * sysdeps/ieee754/dbl-64/mpa.c: Include <sys/param.h>. 2004-08-11 18:54:46 +00:00
mpatan2.c 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
mpatan.c 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
mpatan.h 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
mpexp.c 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
mpexp.h 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
mplog.c 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
mplog.h 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
mpn2dbl.c * elf/dl-load.c (_dl_map_object_from_fd): Bail if no PT_LOAD phdrs 2003-03-14 03:59:59 +00:00
mpsqrt.c Update. 2003-11-29 06:13:09 +00:00
mpsqrt.h 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
mptan.c 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
mydefs.h 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
powtwo.tbl 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
root.tbl 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
s_asinh.c Update. 1999-07-14 00:54:57 +00:00
s_atan.c 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
s_cbrt.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
s_ceil.c Update. 1999-07-14 00:54:57 +00:00
s_copysign.c Update. 1999-07-14 00:54:57 +00:00
s_cos.c Update. 2001-03-12 00:04:52 +00:00
s_erf.c Update. 1999-08-17 22:33:08 +00:00
s_expm1.c Update. 1999-07-14 00:54:57 +00:00
s_fabs.c Update. 1999-07-14 00:54:57 +00:00
s_finite.c Update. 2002-09-10 01:40:26 +00:00
s_floor.c Update. 1999-07-14 00:54:57 +00:00
s_fpclassify.c Update. 2002-09-10 01:40:26 +00:00
s_frexp.c Update. 1999-07-14 00:54:57 +00:00
s_ilogb.c Update. 2001-06-06 12:55:46 +00:00
s_isinf.c Update. 2002-09-10 01:40:26 +00:00
s_isnan.c Update. 2002-09-10 01:40:26 +00:00
s_llrint.c [BZ #2592] 2006-09-20 17:29:36 +00:00
s_llround.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
s_log1p.c Update. 1999-07-14 00:54:57 +00:00
s_logb.c Update. 1999-07-14 00:54:57 +00:00
s_lrint.c [BZ #2592] 2006-09-20 17:29:36 +00:00
s_lround.c Update. 2004-02-01 19:23:10 +00:00
s_modf.c Update. 1999-07-14 00:54:57 +00:00
s_nearbyint.c Update. 1999-07-14 00:54:57 +00:00
s_nexttoward.c Update. 1999-07-14 00:54:57 +00:00
s_remquo.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
s_rint.c Update. 1999-07-14 00:54:57 +00:00
s_round.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
s_scalbln.c Update. 1999-07-14 00:54:57 +00:00
s_scalbn.c Update. 1999-07-14 00:54:57 +00:00
s_signbit.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
s_sin.c 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
s_sincos.c * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use __sin and 2005-07-08 17:59:03 +00:00
s_tan.c 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
s_tanh.c Update. 1999-07-14 00:54:57 +00:00
s_trunc.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
sincos32.c 2003-01-20 Segher Boessenkool <segher@koffie.nl> 2003-01-20 05:25:30 +00:00
sincos32.h 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
sincos.tbl 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
slowexp.c 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
slowpow.c 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
t_exp2.h Update. 1999-07-14 00:54:57 +00:00
t_exp.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
uasncs.h 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
uatan.tbl 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
uexp.h 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
uexp.tbl 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
ulog.h 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
ulog.tbl 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
upow.h 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
upow.tbl 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
urem.h 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
uroot.h 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
usncs.h 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
utan.h 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
utan.tbl 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
w_exp.c Update. 1999-07-14 00:54:57 +00:00