[Haskell-cafe] exp implementation

Christopher Howard christopher.howard at frigidcode.com
Thu Apr 11 07:38:31 CEST 2013

Hi. For my own learning, I wanted to see how the exp function is
implemented in GHC. I have GHC 7.4.1 source code open, but I'm having
trouble figuring out which file the actual function definition is in. I see

 expFloat    (F# x) = F# (expFloat# x)

in libraries/base/GHC/Float.lhs.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130410/feacb498/attachment.pgp>

More information about the Haskell-Cafe mailing list