Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
float precision on AMD64
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Robert Roessler <roessler@r...>
Subject: Re: [Caml-list] float precision on AMD64
Mike Lin wrote:

> Hi folks,
> ints are appropriately wider on AMD64 ocaml, but floats don't seem to
> be...max_float and epsilon_float are the same on my 64-bit machine as
> on a 32-bit, while max_int is larger. Is this by design?

This is probably because "floats" in standard (32-bit) OCaml are 
already "doubles" (they use IEEE 64-bit floating point representation). :)

Robert Roessler