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
Is it a bug or just ordinary floating point differences?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-11-17 (12:26)
From: Richard Jones <rich@a...>
Subject: Re: Another example (was: Re: [Caml-list] Is it a bug or just ordinary floating point differences?)
On Mon, Nov 17, 2008 at 12:23:31PM +0000, Richard Jones wrote:
> I'm thinking the difference must be somewhere in Wine itself or in the
> way that the two compilers initialize the floating point environment,
> such as using different rounding modes.

>  L103:  .double 62.05
>         .data
>  L102:  .double 60.

Or another difference could be the way the assembler is converting
these constants into binary.  The cross-compiler uses gas from
binutils 2.18.50 (MinGW 20080109 patch).


Richard Jones
Red Hat