Retour a %.12g dans string_of_float (PR#1778)

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5755 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Xavier Leroy 2003-07-29 09:08:42 +00:00
parent 2f8d5ba5f6
commit 8938acb2ef
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ let valid_float_lexem s =
loop 0
;;
let string_of_float f = valid_float_lexem (format_float "%.17g" f);;
let string_of_float f = valid_float_lexem (format_float "%.12g" f);;
external float_of_string : string -> float = "float_of_string"