Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] float number
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Vincent Barichard <barichar@i...>
Subject: [Caml-list] float number
Hi,

I've observed a strange behaviour of ocaml :

let x = asin (-0.587527525714) in (x,x = (-0.628));;
- : float * bool = (-0.628, false)

Why x doesn't equal to -0.628 ??

Thanks

Vincent

Vincent Barichard
Métaheuristiques et Optimisation Combinatoire
Faculté des Sciences d'Angers
Tel : 02 41 73 52 06
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners