base-4.20.0.0: Core data structures and operations
Copyright(c) Daniel Fischer 2010
Licensesee libraries/base/LICENSE
Maintainerghc-devs@haskell.org
Stabilityinternal
Portabilitynon-portable (GHC Extensions)
Safe HaskellSafe
LanguageHaskell2010

GHC.Float.RealFracMethods

Description

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.

Synopsis

Double methods

Integer results

Int results

Double/Int conversions, wrapped primops

Float methods

Integer results

Int results

Float/Int conversions, wrapped primops