English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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