std.float

The 64-bit floating point type.

Values

let additive : {
    semigroup : std.semigroup.Semigroup Float,
    monoid : std.monoid.Monoid Float,
    group : std.group.Group Float
}

let multiplicative : {
    semigroup : std.semigroup.Semigroup Float,
    monoid : std.monoid.Monoid Float,
    group : std.group.Group Float
}

let eq : std.cmp.Eq Float

Eq a defines equality (==) on a

let ord : std.cmp.Ord Float

Ord a defines an ordering on a

let num : std.num.Num Float

The basic operation on numbers. Defined for both the primitive type Int and Float

let show : std.show.Show Float

Show a represents a conversion function from a to a readable string.

let digits : Int

let epsilon : Float

let infinity : Float

let mantissa_digits : Int

let max_ : Float

let max_10_exp : Int

let max_exp : Int

let min_ : Float

let min_10_exp : Int

let min_exp : Int

let min_positive : Float

let nan : Float

let neg_infinity : Float

let e : Float

let pi : Float

let radix : Int

let is_nan : Float -> std.types.Bool

let is_infinite : Float -> std.types.Bool

let is_finite : Float -> std.types.Bool

let is_normal : Float -> std.types.Bool

let floor : Float -> Float

let ceil : Float -> Float

let round : Float -> Float

let trunc : Float -> Float

let fract : Float -> Float

let abs : Float -> Float

let signum : Float -> Float

let is_sign_positive : Float -> std.types.Bool

let is_sign_negative : Float -> std.types.Bool

let mul_add : Float -> Float -> Float -> Float

let recip : Float -> Float

let powi : Float -> Int -> Float

let powf : Float -> Float -> Float

let sqrt : Float -> Float

let exp : Float -> Float

let exp2 : Float -> Float

let ln : Float -> Float

let log2 : Float -> Float

let log10 : Float -> Float

let to_degrees : Float -> Float

let to_radians : Float -> Float

let max : Float -> Float -> Float

let min : Float -> Float -> Float

let cbrt : Float -> Float

let hypot : Float -> Float -> Float

let sin : Float -> Float

let cos : Float -> Float

let tan : Float -> Float

let acos : Float -> Float

let atan : Float -> Float

let atan2 : Float -> Float -> Float

let sin_cos : Float -> (Float, Float)

let exp_m1 : Float -> Float

let ln_1p : Float -> Float

let sinh : Float -> Float

let cosh : Float -> Float

let tanh : Float -> Float

let acosh : Float -> Float

let atanh : Float -> Float

let from_int : Int -> Float

let parse : String -> std.types.Result () Float