mirror of git://sourceware.org/git/glibc.git
Update.
* time/difftime.c (__difftime): New renamed. Make old name alias. Use __difftime in recursive call. * sysdeps/powerpc/fpu/bits/mathinline.h: Add __signbitf and
This commit is contained in:
parent
e58ab813d6
commit
47eb6e76da
|
@ -1,5 +1,8 @@
|
||||||
2004-04-01 Ulrich Drepper <drepper@redhat.com>
|
2004-04-01 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* time/difftime.c (__difftime): New renamed. Make old name alias.
|
||||||
|
Use __difftime in recursive call.
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Use
|
* sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Use
|
||||||
__tcgetattr() instead of tcgetattr().
|
__tcgetattr() instead of tcgetattr().
|
||||||
|
|
||||||
|
@ -9,7 +12,7 @@
|
||||||
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S [SHARED]: Use
|
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S [SHARED]: Use
|
||||||
__GI__exit.
|
__GI__exit.
|
||||||
|
|
||||||
* sysdeps/powerpc/fpu/bits/mathinline.h: Addn __signbitf and
|
* sysdeps/powerpc/fpu/bits/mathinline.h: Add __signbitf and
|
||||||
__signbit inlines.
|
__signbit inlines.
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Use
|
* sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Use
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1991, 1994, 1996 Free Software Foundation, Inc.
|
/* Copyright (C) 1991, 1994, 1996, 2004 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
/* Return the difference between TIME1 and TIME0. */
|
/* Return the difference between TIME1 and TIME0. */
|
||||||
double
|
double
|
||||||
difftime (time1, time0)
|
__difftime (time1, time0)
|
||||||
time_t time1;
|
time_t time1;
|
||||||
time_t time0;
|
time_t time0;
|
||||||
{
|
{
|
||||||
|
@ -36,7 +36,7 @@ difftime (time1, time0)
|
||||||
return (long double) time1 - (long double) time0;
|
return (long double) time1 - (long double) time0;
|
||||||
|
|
||||||
if (time1 < time0)
|
if (time1 < time0)
|
||||||
return - difftime (time0, time1);
|
return - __difftime (time0, time1);
|
||||||
|
|
||||||
/* As much as possible, avoid loss of precision by computing the
|
/* As much as possible, avoid loss of precision by computing the
|
||||||
difference before converting to double. */
|
difference before converting to double. */
|
||||||
|
@ -64,3 +64,4 @@ difftime (time1, time0)
|
||||||
double-rounding problem. */
|
double-rounding problem. */
|
||||||
return delta - 2 * (long double) hibit;
|
return delta - 2 * (long double) hibit;
|
||||||
}
|
}
|
||||||
|
strong_alias (__difftime, difftime)
|
||||||
|
|
Loading…
Reference in New Issue