Float +base

data Float :: *
base Prelude, base GHC.Exts
Single-precision floating point numbers. It is desirable that this type be at least equal in range and precision to the IEEE single-precision type.
class Fractional a => Floating a
base Prelude
Trigonometric and hyperbolic functions and related functions. Minimal complete definition: pi, exp, log, sin, cos, sinh, cosh, asin, acos, atan, asinh, acosh and atanh
FloatConstr :: Rational -> ConstrRep
base Data.Data
FloatRep :: DataRep
base Data.Data
floatDigits :: RealFloat a => a -> Int
base Prelude
floatRadix :: RealFloat a => a -> Integer
base Prelude
floatRange :: RealFloat a => a -> (Int, Int)
base Prelude
floatToDigits :: RealFloat a => Integer -> a -> ([Int], Int)
base Numeric
floatToDigits takes a base and a non-negative RealFloat number, and returns a list of digits and an exponent. In particular, if x>=0, and > floatToDigits base x = ([d1,d2,...,dn], e) then *  >= *  = 0.d1d2...dn * (base** *  <= di <= base
decodeFloat :: RealFloat a => a -> (Integer, Int)
base Prelude
encodeFloat :: RealFloat a => Integer -> Int -> a
base Prelude
class (RealFrac a, Floating a) => RealFloat a
base Prelude
Efficient, machine-independent access to the components of a floating-point number. Minimal complete definition: all except exponent, significand, scaleFloat and atan2
scaleFloat :: RealFloat a => Int -> a -> a
base Prelude
data CFloat
base Foreign.C.Types
Haskell type representing the C float type.
mkFloatConstr :: DataType -> Double -> Constr
base Data.Data
This function is now deprecated. Please use mkRealConstr instead.
mkFloatType :: String -> DataType
base Data.Data
Constructs the Float type
readFloat :: RealFrac a => ReadS a
base Numeric
Reads an unsigned RealFrac value, expressed in decimal scientific notation.
showEFloat :: RealFloat a => Maybe Int -> a -> ShowS
base Numeric
Show a signed RealFloat value using scientific (exponential) notation (e.g. 2.45e2, 1.5e-3). In the call showEFloat digs val, if digs is Nothing, the value is shown to full precision; if digs is Just d, then at most d digits after the decimal point are shown.
showFFloat :: RealFloat a => Maybe Int -> a -> ShowS
base Numeric
Show a signed RealFloat value using standard decimal notation (e.g. 245000, 0.0015). In the call showFFloat digs val, if digs is Nothing, the value is shown to full precision; if digs is Just d, then at most d digits after the decimal point are shown.
showFloat :: RealFloat a => a -> ShowS
base Numeric
Show a signed RealFloat value to full precision using standard decimal notation for arguments whose absolute value lies between 0.1 and 9,999,999, and scientific notation otherwise.
showGFloat :: RealFloat a => Maybe Int -> a -> ShowS
base Numeric
Show a signed RealFloat value using standard decimal notation for arguments whose absolute value lies between 0.1 and 9,999,999, and scientific notation otherwise. In the call showGFloat digs val, if digs is Nothing, the value is shown to full precision; if digs is Just d, then at most d digits after the decimal point are shown.

Show more results