Version française
Home     About     Download     Resources     Contact us    
Browse thread
IEEE floating point emulation library?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christian Lindig <lindig@e...>
Subject: IEEE floating point emulation library?

For a compiler project I am looking for an IEEE floating point
emulation.  I have already checked http://caml.inria.fr/hump.html and
the OCaml link database for such a libray.  Does anybody has written
something like this for OCaml?

To answer the obvious question, why not use the built in float data
type:  I need access to the representation at the bit level.  Some
code that decodes a float value into a bit vector (int32/int64) and
back would be also helpful.

-- Christian

-- 
Christian Lindig          Harvard University - EECS 
lindig@eecs.harvard.edu   33 Oxford St, MD 242, Cambridge MA 02138
phone: (617) 496-7157     http://www.eecs.harvard.edu/~lindig/