package farith

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Supported rounding modes

type t =
  1. | NE
    (*

    Nearest to even

    *)
  2. | ZR
    (*

    Toward zero

    *)
  3. | DN
    (*

    Toward minus infinity

    *)
  4. | UP
    (*

    Toward plus infinity

    *)
  5. | NA
    (*

    Nearest away from zero

    *)
val equal : t -> t -> Ppx_deriving_runtime.bool
val compare : t -> t -> Ppx_deriving_runtime.int
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
include Ppx_hash_lib.Hashable.S with type t := t
val hash_fold_t : Base.Hash.state -> t -> Base.Hash.state
val hash : t -> Base.Hash.hash_value