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: 2005-04-11 (14:25)
From: Alan Falloon <Al.Falloon@s...>
Subject: Re: [Caml-list] float precision on AMD64
Ville-Pertti Keinonen wrote:

> As the above link notes, since integers on most machines are 
> twos-complement and not sign-magnitude, it doesn't work right for 
> negative floats.
> Working around this isn't possible without knowing it's actually a 
> float (in which case a floating point compare could just be used, 
> anyhow).

My mistake. I shouldn't be posting first thing Monday morning.