mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-18 12:16:13 +08:00
Fix generic fdiml.
This commit is contained in:
parent
5001998a12
commit
e9f145cba8
@ -1,3 +1,7 @@
|
||||
2009-08-25 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* math/s_fdiml.c (__fdiml): Use fpclassify instead of fpclassifyl.
|
||||
|
||||
2009-08-25 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
|
||||
|
@ -24,8 +24,8 @@
|
||||
long double
|
||||
__fdiml (long double x, long double y)
|
||||
{
|
||||
int clsx = fpclassifyl (x);
|
||||
int clsy = fpclassifyl (y);
|
||||
int clsx = fpclassify (x);
|
||||
int clsy = fpclassify (y);
|
||||
|
||||
if (clsx == FP_NAN || clsy == FP_NAN
|
||||
|| (y < 0 && clsx == FP_INFINITE && clsy == FP_INFINITE))
|
||||
|
Loading…
Reference in New Issue
Block a user