[project @ 2005-06-27 13:56:32 by simonmar]
authorsimonmar <unknown>
Mon, 27 Jun 2005 13:56:32 +0000 (13:56 +0000)
committersimonmar <unknown>
Mon, 27 Jun 2005 13:56:32 +0000 (13:56 +0000)
commitb7e861ce34a4d50c777db284cf650f55b58a16a3
treeb061227590f4c8b211af0a96359ab1205ede278e
parentd2d7232c9f61207130fa3e10016621565d79f31a
[project @ 2005-06-27 13:56:32 by simonmar]
Fix performance buglet: small Float literals weren't being simplified
enough because the fromInteger method is defined in terms of
encodeFloat, which itself is an FFI call.  Double was already fixed,
this change does the right thing for Float too.
GHC/Float.lhs