git.annexia.org
/
fedora-mingw.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
a9589841c70b95f9424f39758ff7cf0a7483ac04
[fedora-mingw.git]
/
test_float2.ml
1
(* Another float/int conversion problem or difference. *)
2
3
open Printf ;;
4
5
printf "%d\n" (int_of_float (62.05 *. 60.)) ;;
6
let s = 62.05 *. 60. ;;
7
printf "%d\n" (int_of_float s) ;;