Version française
Home     About     Download     Resources     Contact us    
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: 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.