base- Core data structures and operations
Copyright(c) Daniel Fischer 2010
Licensesee libraries/base/LICENSE
Portabilitynon-portable (GHC Extensions)
Safe HaskellSafe



Methods for the RealFrac instances for Float and Double, with specialised versions for Int.

Moved to their own module to not bloat GHC.Float further.

The API of this module is unstable and not meant to be consumed by the general public. If you absolutely must depend on it, make sure to use a tight upper bound, e.g., base < 4.X rather than base < 5, because the interface can change rapidly without much warning.


Double methods

Integer results

Int results

Double/Int conversions, wrapped primops

Float methods

Integer results

Int results

Float/Int conversions, wrapped primops