aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/powerpc/fpu/s_isnan.c10
1 files changed, 6 insertions, 4 deletions
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)