summaryrefslogtreecommitdiff
path: root/libm/powerpc/s_ldexp.c
diff options
context:
space:
mode:
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 );
}