Browse thread
float precision on AMD64
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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 roessler@rftp.com http://www.rftp.com