Another example (was: Re: [Caml-list] Is it a bug or just ordinary floating point differences?)

2008-11-17 Thread Richard Jones
-- open Printf ;; printf %d\n (int_of_float (62.05 *. 60.)) ;; let s = 62.05 *. 60. ;; printf %d\n (int_of_float s) ;; -- Ordinary ocamlopt prints: 3723

Re: Another example (was: Re: [Caml-list] Is it a bug or just ordinary floating point differences?)

2008-11-17 Thread Richard Jones
On Mon, Nov 17, 2008 at 12:23:31PM +, 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: