summaryrefslogtreecommitdiff
path: root/libm/powerpc/s_ldexp.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-03-06 07:11:53 +0000
committerEric Andersen <andersen@codepoet.org>2005-03-06 07:11:53 +0000
commitc4e44e97f8562254d9da898f6ed7e6cb4d8a3ce4 (patch)
tree6c61f83ac5b94085222b3eda8d731309d61be99b /libm/powerpc/s_ldexp.c
parentd4fad9c64ee518be51ecb40662af69b405a49556 (diff)
Trim off whitespace
Diffstat (limited to 'libm/powerpc/s_ldexp.c')
-rw-r--r--libm/powerpc/s_ldexp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libm/powerpc/s_ldexp.c b/libm/powerpc/s_ldexp.c
index 0e9a66611..ce9ec8b1b 100644
--- a/libm/powerpc/s_ldexp.c
+++ b/libm/powerpc/s_ldexp.c
@@ -29,18 +29,18 @@ typedef union
unsigned long int hi;
unsigned long int lo;
#else
- unsigned long int lo;
- unsigned long int hi;
+ unsigned long int lo;
+ unsigned long int hi;
#endif
} words;
double dbl;
- } DblInHex;
+ } DblInHex;
-double ldexp ( double value, int exp )
+double ldexp ( double value, int exp )
{
- if ( exp > SHRT_MAX )
+ if ( exp > SHRT_MAX )
exp = SHRT_MAX;
- else if ( exp < -SHRT_MAX )
+ else if ( exp < -SHRT_MAX )
exp = -SHRT_MAX;
return scalb ( value, exp );
}