diff options
author | Don Stewart <dons@galois.com> | 2008-05-01 00:05:17 +0000 |
---|---|---|
committer | Don Stewart <dons@galois.com> | 2008-05-01 00:05:17 +0000 |
commit | 6b4c4c07c8acb13fbb5beed98476c472b9b511f3 (patch) | |
tree | d16530d632903bcd2aad0b9322c3298220f5e5e3 /rts/StgPrimFloat.c | |
parent | d8c655c1e3cac3eaf4ffa223b06fc37aba0871e5 (diff) | |
download | haskell-6b4c4c07c8acb13fbb5beed98476c472b9b511f3.tar.gz |
Missing .0 on float constant.
Diffstat (limited to 'rts/StgPrimFloat.c')
-rw-r--r-- | rts/StgPrimFloat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/StgPrimFloat.c b/rts/StgPrimFloat.c index 150bdc66a2..80f10e103c 100644 --- a/rts/StgPrimFloat.c +++ b/rts/StgPrimFloat.c @@ -89,7 +89,7 @@ __2Int_encodeDouble (I_ j_high, I_ j_low, I_ e) ASSERT(sizeof(int ) == 4 ); r = (StgDouble)((unsigned int)j_high); - r *= 4294967296; /* exp2f(32); */ + r *= 4294967296.0; /* exp2f(32); */ r += (StgDouble)((unsigned int)j_low); /* Now raise to the exponent */ |