Replace C99 exp2f(32) call in __2Int_encodeDouble
authorDon Stewart <dons@galois.com>
Wed, 30 Apr 2008 21:48:27 +0000 (21:48 +0000)
committerDon Stewart <dons@galois.com>
Wed, 30 Apr 2008 21:48:27 +0000 (21:48 +0000)
commitd8c655c1e3cac3eaf4ffa223b06fc37aba0871e5
tree34de5e66ceaebcb2919f3c5a353c9dca8957e94b
parent510aac2a8a8e2618e4ff2069a9df398c05b130fb
Replace C99 exp2f(32) call in __2Int_encodeDouble
with constant 4294967296.

exp2f is a C99-ism not availabl everywhere. Replace it
with its result. Helps building on OpenBSD>
rts/StgPrimFloat.c