aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-17 18:10:46 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-17 18:10:46 +0000
commitb99a3e9a07b48e75ddf63fcd09e7d9600dc466ed (patch)
treeec33734cb57873156140f7e606d8854b9425a29a
parentdc051821742cd7195bed74d6ae789ee1b82a62aa (diff)
downloadglibc-b99a3e9a07b48e75ddf63fcd09e7d9600dc466ed.tar
glibc-b99a3e9a07b48e75ddf63fcd09e7d9600dc466ed.tar.gz
glibc-b99a3e9a07b48e75ddf63fcd09e7d9600dc466ed.tar.bz2
glibc-b99a3e9a07b48e75ddf63fcd09e7d9600dc466ed.zip
Update.
* sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/powerpc/fpu/s_isnan.c10
2 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index c6863cb410..a5b9ee3951 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2000-04-17 Ulrich Drepper <drepper@redhat.com>
+ * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
+
* elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
* elf/dl-lookup.c: Likewise.
* elf/dl-init.c (_dl_init): Likewise.
diff --git a/sysdeps/powerpc/fpu/s_isnan.c b/sysdeps/powerpc/fpu/s_isnan.c
index feea7e5c6e..7c5c50c66c 100644
--- a/sysdeps/powerpc/fpu/s_isnan.c
+++ b/sysdeps/powerpc/fpu/s_isnan.c
@@ -24,14 +24,16 @@
#include "math.h"
#include <fenv_libc.h>
-int __isnan(double x)
+int
+__isnan (x)
+ double x;
{
fenv_t savedstate;
int result;
- savedstate = fegetenv_register();
- reset_fpscr_bit(FPSCR_VE);
+ savedstate = fegetenv_register ();
+ reset_fpscr_bit (FPSCR_VE);
result = !(x == x);
- fesetenv_register(savedstate);
+ fesetenv_register (savedstate);
return result;
}
weak_alias (__isnan, isnan)