Filewatcher File Search File Search
Content Search
» » » » »


O'Caml library that implements exact real arithmetic

This module implements exact real arithmetic, following Valerie Menissier-Morain Ph.D. thesis (

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.

Package version:0.7-3


Creal for Objective caml: Exact real arithmetic.
Copyright (C) 2000 Jean-Christophe Filli�tre.

This  library implements  exact  real  arithmetic.
There are actually two different implementations:

- Module Creal,   following  Val�rie
  M�nissier-Morain Ph.D. thesis (

  A  real  x  is  represented  as  a function  giving,  for  any  n,  an
  approximation zn/4^n 


ocamlcreal (0.7-3) unstable; urgency=low

  * Remove per new policy
  * Rebuild for 3.09.2 (Closes: #376398)
  * svn layout is now svn-buildpackage compatible

 -- Mike Furr <>  Fri,  8 Sep 2006 15:47:58 -0400

ocamlcreal (0.7-2) unstable; urgency=low

  * Remove hard-coded abi strings
  * Rebuild for 3.09.1

 -- Mike Furr <>  Mon,  9 Jan 2006 19:45:33 -0


 o new implementation of constructive reals in module Cr
   (Java library by Hans Boehm ported to ocaml); this one is usually more 
   efficient than Creal (uses less memory).
   The two interfaces are (almost) identical, so it is easy to switch from
   one to the other.
 o slight changes in Creal interface to be compatible with Cr interface:
   - of_string : ?radix:int -> string -> t
   - log: ~


This package was debianized by Mike Furr <> on
Sat, 10 Apr 2004 12:49:19 -0400.


Browse inside libcreal-ocaml-dev_0.7-3_amd64.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download libcreal-ocaml-dev_0.7-3_amd64.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017