“ocamlcreal” 0.7-6build4 source package in Ubuntu
ocamlcreal (0.7-6build4) precise; urgency=low * Rebuild for OCaml 3.12.1. -- Colin Watson <email address hidden> Sat, 19 Nov 2011 11:58:06 +0000
- diff from 0.7-6build3 to 0.7-6build4 (296 bytes)
Binary packages built by this source
- libcreal-ocaml-dev: O'Caml library that implements exact real arithmetic
This module implements exact real arithmetic, following Valerie
Menissier-Morain Ph.D. thesis (http://
www-calfor. lip6.fr/ ~vmm/).
A real x is represented as a function giving, for any n, an
approximation zn/4^n of x such that |zn/4^n - x| < 1, where zn is an
arbitrary precision integer (of type Gmp.Z.t).
Coercions from type int, Gmp.Z.t, Gmp.Q.t, basic operations (addition,
subtraction, multiplication, division, power, square root) and
transcendental functions (sin, cos, tan, log, exp, arcsin, arccos,
etc.) and a few constants (pi, e) are provided.
A small reverse-polish calculator is provided to test the library.