package batteries

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = float
val zero : float
val one : float
val neg : float -> float
val succ : float -> float
val pred : float -> float
val abs : float -> float
val add : float -> float -> float
val sub : float -> float -> float
val mul : float -> float -> float
val div : float -> float -> float
val modulo : float -> float -> float
val pow : float -> float -> float
val min_num : float
val max_num : float
val compare : float -> float -> int
val equal : float -> float -> bool
val ord : float -> float -> BatOrd.order
val of_int : int -> float
val to_int : float -> int
val of_float : float -> float
val to_float : float -> float
val of_string : string -> float
val to_string : float -> string
val (+) : t -> t -> t
val (-) : t -> t -> t
val (*) : t -> t -> t
val (/) : t -> t -> t
val (**) : t -> t -> t
val min : float -> float -> float
val max : float -> float -> float
val (--) : t -> t -> t BatEnum.t
val (---) : t -> t -> t BatEnum.t
val operations : t BatNumber.numeric
val sqrt : float -> float
val exp : float -> float
val log : float -> float
val log10 : float -> float
val cos : float -> float
val sin : float -> float
val tan : float -> float
val acos : float -> float
val asin : float -> float
val atan : float -> float
val atan2 : float -> float -> float
val cosh : float -> float
val sinh : float -> float
val tanh : float -> float
val ceil : float -> float
val floor : float -> float
val round : float -> float
val round_to_int : float -> int
val round_to_string : ?digits:int -> float -> string
val root : float -> int -> float
val signbit : float -> bool
val copysign : float -> float -> float
val is_nan : float -> bool
val is_special : float -> bool
val is_finite : float -> bool
val infinity : float
val neg_infinity : float
val nan : float
val epsilon : float
val e : float
val log2e : float
val log10e : float
val ln2 : float
val ln10 : float
val pi : float
val pi2 : float
val pi4 : float
val invpi : float
val invpi2 : float
val sqrtpi2 : float
val sqrt2 : float
val invsqrt2 : float
val frexp : float -> float * int
val ldexp : float -> int -> float
val modf : float -> float * float
type fpkind = Pervasives.fpclass =
  1. | FP_normal
  2. | FP_subnormal
  3. | FP_zero
  4. | FP_infinite
  5. | FP_nan
val classify : float -> fpkind
val approx_equal : ?epsilon:float -> float -> float -> bool
module Infix : sig ... end
module Compare : sig ... end
type bat__refops_t = t
val print : (t, 'a) BatIO.printer
module Safe_float : sig ... end
OCaml

Innovation. Community. Security.