diff options
author | Edward O'Callaghan <eocallaghan@auroraux.org> | 2009-09-03 09:12:20 +0000 |
---|---|---|
committer | Edward O'Callaghan <eocallaghan@auroraux.org> | 2009-09-03 09:12:20 +0000 |
commit | aabd961cc27f5d05f441375e5ba4242d63fea11f (patch) | |
tree | 319d56d8675641e611da11b3ad12f87801001cdd /lib/floattixf.c | |
parent | e8178e2a99ae5d7ccfe5882804a294fd0d3f453f (diff) | |
download | compiler-rt-aabd961cc27f5d05f441375e5ba4242d63fea11f.tar.gz compiler-rt-aabd961cc27f5d05f441375e5ba4242d63fea11f.tar.bz2 compiler-rt-aabd961cc27f5d05f441375e5ba4242d63fea11f.tar.xz |
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/floattixf.c')
-rw-r--r-- | lib/floattixf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/floattixf.c b/lib/floattixf.c index d5502967..77d90604 100644 --- a/lib/floattixf.c +++ b/lib/floattixf.c @@ -78,7 +78,7 @@ __floattixf(ti_int a) /* a is now rounded to LDBL_MANT_DIG bits */ } long_double_bits fb; - fb.u.high.low = ((su_int)s & 0x8000) | /* sign */ + fb.u.high.s.low = ((su_int)s & 0x8000) | /* sign */ (e + 16383); /* exponent */ fb.u.low.all = (du_int)a; /* mantissa */ return fb.f; |