typo in unboxed types section + feature request

Hal Daume III hdaume at ISI.EDU
Thu Sep 26 20:11:45 EDT 2002


First off, in section 7.2.7 "Primitive-Double and Float
operations" there's a typo.  It says "minux" instead of "minux" on the
line reading: "{plus,minux,times,divide}Float# :: ...".

For the feature request, could we get the rest of the trig functions,
namely:

  asinhFloat#, acoshFloat#, atanhFloat# and the Double# versions

as well as the corresponding function to the

  isInfinite :: (RealFloat a) => a -> Bool

function on Float# and Double#?  I suggest the following names:

  isInfiniteFloat#, isInfiniteDouble#

:)

and possibly

  piFloat# and piDouble#

to round things out?

Thanks!

 - Hal, who just moved his library from 'newtype Log = Log Float' to
   'data Log = Log Float#' and got his programs to run much faster

--
Hal Daume III

 "Computer science is no more about computers    | hdaume at isi.edu
  than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume




More information about the Glasgow-haskell-bugs mailing list