package orsetto

  1. Overview
  2. Docs
A library of assorted structured data interchange languages

Install

Dune Dependency

Authors

Maintainers

Sources

r1.1.1.tar.gz
sha256=81283687ce3204263bc955a332dd7b90bf5b648a990c01160f33aaa77d80962f
md5=7346293aa013c2a8974c6fb7c521166a

doc/orsetto.cf/Cf_bsearch/Float_basis/index.html

Module Cf_bsearch.Float_basis

The distinguished basis for OCaml float values.

Basis values are totally ordered.

include Cf_relations.Order with type t = float
type t = float

An abstract type.

val compare : t -> t -> int

Use compare a b to compare a and b, returning 0 if the two values have equal ordering, 1 if a precedes b and -1 if a succeeds b.

val succ : t -> t

Search uses succ c to find the successor of c.

val pred : t -> t

Search uses pred c to find the predecessor of c.

val center : t -> t -> t

Search uses center a b to find the center between a and b.

OCaml

Innovation. Community. Security.