mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 23:30:07 +00:00
Finish ilogb changes
[BZ# 6794] * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ... * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here. Rename __ilogbl to __ieee754_ilogbl and remove weak_alias. * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ... * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here. Rename __ilogbl to __ieee754_ilogbl and remove weak_alias. * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ... * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here. * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ... * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here. Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
This commit is contained in:
parent
e5270c239d
commit
7a99a61461
21
ChangeLog
21
ChangeLog
@ -1,3 +1,22 @@
|
||||
2012-04-18 Andreas Jaeger <aj@suse.de>
|
||||
|
||||
[BZ# 6794]
|
||||
* sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
|
||||
* sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
|
||||
Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
|
||||
|
||||
* sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
|
||||
* sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
|
||||
Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
|
||||
|
||||
* sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
|
||||
* sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
|
||||
Adjust for changed ldbl-128 files.
|
||||
|
||||
* sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
|
||||
* sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
|
||||
Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
|
||||
|
||||
2012-04-17 David S. Miller <davem@davemloft.net>
|
||||
|
||||
* sysdeps/sparc/sparc32/memcopy.h: Delete.
|
||||
@ -34,7 +53,7 @@
|
||||
exception being thrown with 0.0 as argument.
|
||||
* sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
|
||||
* sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
|
||||
* sysdeps/ieee754/flt-32/e_ilogbf.c: Moved to ...
|
||||
* sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
|
||||
* sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
|
||||
* sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
|
||||
* sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
|
||||
|
@ -28,7 +28,7 @@ static char rcsid[] = "$NetBSD: $";
|
||||
#include <math.h>
|
||||
#include <math_private.h>
|
||||
|
||||
int __ilogbl(long double x)
|
||||
int __ieee754_ilogbl (long double x)
|
||||
{
|
||||
int64_t hx,lx;
|
||||
int ix;
|
||||
@ -54,4 +54,3 @@ int __ilogbl(long double x)
|
||||
}
|
||||
return FP_ILOGBNAN;
|
||||
}
|
||||
weak_alias (__ilogbl, ilogbl)
|
2
sysdeps/ieee754/ldbl-64-128/e_ilogbl.c
Normal file
2
sysdeps/ieee754/ldbl-64-128/e_ilogbl.c
Normal file
@ -0,0 +1,2 @@
|
||||
#include <math_ldbl_opt.h>
|
||||
#include <sysdeps/ieee754/ldbl-128/e_ilogbl.c>
|
@ -1,5 +0,0 @@
|
||||
#include <math_ldbl_opt.h>
|
||||
#undef weak_alias
|
||||
#define weak_alias(n,a)
|
||||
#include <sysdeps/ieee754/ldbl-128/s_ilogbl.c>
|
||||
long_double_symbol (libm, __ilogbl, ilogbl);
|
@ -29,7 +29,7 @@ static char rcsid[] = "$NetBSD: $";
|
||||
#include <math.h>
|
||||
#include <math_private.h>
|
||||
|
||||
int __ilogbl(long double x)
|
||||
int __ieee754_ilogbl (long double x)
|
||||
{
|
||||
int32_t es,hx,lx,ix;
|
||||
|
||||
@ -57,4 +57,3 @@ int __ilogbl(long double x)
|
||||
}
|
||||
return FP_ILOGBNAN;
|
||||
}
|
||||
weak_alias (__ilogbl, ilogbl)
|
@ -1,6 +1,6 @@
|
||||
/* Software floating-point emulation.
|
||||
ilogbl(x, exp)
|
||||
Copyright (C) 1999 Free Software Foundation, Inc.
|
||||
Copyright (C) 1999, 2012 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Jakub Jelinek (jj@ultra.linux.cz).
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
#include "quad.h"
|
||||
#include <math.h>
|
||||
|
||||
int __ilogbl(long double x)
|
||||
int __ieee754_ilogbl (long double x)
|
||||
{
|
||||
FP_DECL_EX;
|
||||
FP_DECL_Q(X);
|
||||
@ -77,5 +77,3 @@ int __ilogbl(long double x)
|
||||
return FP_ILOGBNAN;
|
||||
}
|
||||
}
|
||||
|
||||
weak_alias (__ilogbl, ilogbl)
|
Loading…
Reference in New Issue
Block a user