summaryrefslogtreecommitdiff
path: root/lib/floatuntidf.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@auroraux.org>2009-09-03 09:12:20 +0000
committerEdward O'Callaghan <eocallaghan@auroraux.org>2009-09-03 09:12:20 +0000
commitaabd961cc27f5d05f441375e5ba4242d63fea11f (patch)
tree319d56d8675641e611da11b3ad12f87801001cdd /lib/floatuntidf.c
parente8178e2a99ae5d7ccfe5882804a294fd0d3f453f (diff)
downloadcompiler-rt-aabd961cc27f5d05f441375e5ba4242d63fea11f.tar.gz
Fix some files that got left behind in early changeset to unnamed unions fix. Credit to Roman Divacky.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@80913 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/floatuntidf.c')
-rw-r--r--lib/floatuntidf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/floatuntidf.c b/lib/floatuntidf.c
index 2e8369e9e..51d8b2827 100644
--- a/lib/floatuntidf.c
+++ b/lib/floatuntidf.c
@@ -74,9 +74,9 @@ __floatuntidf(tu_int a)
/* a is now rounded to DBL_MANT_DIG bits */
}
double_bits fb;
- fb.u.high = ((e + 1023) << 20) | /* exponent */
+ fb.u.s.high = ((e + 1023) << 20) | /* exponent */
((su_int)(a >> 32) & 0x000FFFFF); /* mantissa-high */
- fb.u.low = (su_int)a; /* mantissa-low */
+ fb.u.s.low = (su_int)a; /* mantissa-low */
return fb.f;
}