Package: ocaml-doc
Version: 3.08.0-1
Severity: minor

Hi

the docs on printf seem to be wrong:

file:///usr/share/doc/ocaml/docs/ocaml.html/libref/Printf.html

# f: convert a floating-point argument to decimal notation, in the style 
dddd.ddd.
# F: convert a floating-point argument in Caml syntax (dddd.ddd with a 
mandatory .).
# e or E: convert a floating-point argument to decimal notation, in the style 
d.ddd e+-dd (mantissa and exponent).
# g or G: convert a floating-point argument to decimal notation, in style f or 
e, E (whichever is more compact).

But %f always prints dddd.ddd with a mandatory '.'. %F on the other
hand does not always print a '.', e.g. 1e+18 does not. %F seems to do
what %g describes.

MfG
        Goswin

-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.8-frosties-1
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to