package grenier

  1. Overview
  2. Docs
A collection of various algorithms in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

grenier-0.15.tbz
sha256=dec7f84b9e93d5825f10c7dea84d5a74d7365ede45664ae63c26b5e8045c1c44
sha512=b8aa1569c2e24b89674d1b34de34cd1798896bb6a53aa5a1287f68cee880125e6b687f66ad73da9069a01cc3ece1f0684f48328b099d43529bff736b772c8fd8

doc/grenier.doubledouble/Doubledouble/index.html

Module DoubledoubleSource

Sourcetype t = {
  1. hi : float;
  2. lo : float;
}

Double-double arithmetic

Copyright (c) 2013, Frederic Bour <frederic.bour (at) lakaban.net> All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

* Neither the name of the organization nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *

Sourceval t : float -> float -> t
Sourceval of_float : float -> t
Sourceval to_float : t -> float
Sourceval of_int : int -> t
Sourceval to_int : t -> int
Sourceval dump : t -> string
Sourceval to_string_std : t -> string
Sourceval to_string_sci : t -> string
Sourceval to_string : t -> string
Sourceval of_string : string -> t
Sourceval is_nan : t -> bool
Sourceval is_zero : t -> bool
Sourceval is_negative : t -> bool
Sourceval is_positive : t -> bool
Sourceval eq : t -> t -> bool
Sourceval ne : t -> t -> bool
Sourceval gt : t -> t -> bool
Sourceval ge : t -> t -> bool
Sourceval lt : t -> t -> bool
Sourceval le : t -> t -> bool
Sourceval compare : t -> t -> int
Sourceval signum : t -> int
Sourceval add : t -> t -> t
Sourceval sub : t -> t -> t
Sourceval mul : t -> t -> t
Sourceval div : t -> t -> t
Sourceval neg : t -> t
Sourceval inv : t -> t
Sourceval floor : t -> t
Sourceval ceil : t -> t
Sourceval abs : t -> t
Sourceval trunc : t -> t
Sourceval sqr : t -> t
Sourceval sqrt : t -> t
Sourceval pow : t -> int -> t
Sourceval pi : t
Sourceval two_pi : t
Sourceval pi_2 : t
Sourceval e : t
Sourceval nan : t
Sourceval zero : t
Sourceval one : t
Sourceval ten : t
Sourceval k_eps : float
Sourcemodule Infix : sig ... end
OCaml

Innovation. Community. Security.