To focus the search input from anywhere on the page, press the 'S' key.
in-package search v0.1.0
-
dynlink
-
graphics
-
nums
-
ocamlcommon
-
ocamloptcomp
-
odoc_info
-
raw_spacetime_lib
-
-
str
-
threads
-
unix
Library
Module
Module type
Parameter
Class
Class type
Flags that control rational arithmetic.
Get or set the flag null_denominator
. When on, attempting to create a rational with a null denominator raises an exception. When off, rationals with null denominators are accepted. Initially: on.
Get or set the flag normalize_ratio
. When on, rational numbers are normalized after each operation. When off, rational numbers are not normalized until printed. Initially: off.
Get or set the flag normalize_ratio_when_printing
. When on, rational numbers are normalized before being printed. When off, rational numbers are printed as is, without normalization. Initially: on.
Get or set the flag approx_printing
. When on, rational numbers are printed as a decimal approximation. When off, rational numbers are printed as a fraction. Initially: off.