package mlfenv

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type rounding_mode =
  1. | TONEAREST
  2. | UPWARD
  3. | DOWNWARD
  4. | TOWARDZERO

Rounding modes as defined by fenv.

val fegetround : unit -> rounding_mode

Get rounding mode

val fesetround : rounding_mode -> unit

Set rounding mode

OCaml

Innovation. Community. Security.