about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-03-17 04:08:21 +0000
committerUlrich Drepper <drepper@redhat.com>1997-03-17 04:08:21 +0000
commitf4a0465b69a7f21917559bd4e13ce6c121db4046 (patch)
tree2b23f1837c6c97f0b6d0569e93fdd06605c5f53f
parent1908c0864174733623fdc1de5126956594a78baf (diff)
downloadglibc-f4a0465b69a7f21917559bd4e13ce6c121db4046.tar.gz
glibc-f4a0465b69a7f21917559bd4e13ce6c121db4046.tar.xz
glibc-f4a0465b69a7f21917559bd4e13ce6c121db4046.zip
(huge, tiny): Adapt values for long double type.
-rw-r--r--sysdeps/libm-ieee754/s_scalbnl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/libm-ieee754/s_scalbnl.c b/sysdeps/libm-ieee754/s_scalbnl.c
index d00eb88167..6825e9c7b3 100644
--- a/sysdeps/libm-ieee754/s_scalbnl.c
+++ b/sysdeps/libm-ieee754/s_scalbnl.c
@@ -33,10 +33,10 @@ static const long double
 #else
 static long double
 #endif
-two54   =  1.80143985094819840000e+16, /* 0x43500000, 0x00000000 */
-twom54  =  5.55111512312578270212e-17, /* 0x3C900000, 0x00000000 */
-huge   = 1.0e+300,
-tiny   = 1.0e-300;
+two54   =  1.80143985094819840000e+16, /* 0x4035, 0x00000000, 0x00000000 */
+twom54  =  5.55111512312578270212e-17, /* 0x3FC9, 0x00000000, 0x00000000 */
+huge   = 1.0e+4900L,
+tiny   = 1.0e-4900L;
 
 #ifdef __STDC__
 	long double __scalbnl (long double x, int n)