diff options
| author | David Schultz <das@FreeBSD.org> | 2005-03-21 08:01:09 +0000 |
|---|---|---|
| committer | David Schultz <das@FreeBSD.org> | 2005-03-21 08:01:09 +0000 |
| commit | fd757c50f6f80b1863fcb67725d3e766062ee7ec (patch) | |
| tree | 587be6da68e9def7bd60577e5323789d902df796 /usr.bin/printf/printf.1 | |
| parent | 3edb8f412f46a9a062c14007d7bfdf447cc2f888 (diff) | |
Notes
Diffstat (limited to 'usr.bin/printf/printf.1')
| -rw-r--r-- | usr.bin/printf/printf.1 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/usr.bin/printf/printf.1 b/usr.bin/printf/printf.1 index 445c7aaf4ecd..01360a413a13 100644 --- a/usr.bin/printf/printf.1 +++ b/usr.bin/printf/printf.1 @@ -197,6 +197,11 @@ A character which indicates the type of format to use (one of .Cm diouxXfFeEgGaAcsb ) . The uppercase formats differ from their lowercase counterparts only in that the output of the former is entirely in uppercase. +The floating-point format specifiers +.Cm ( fFeEgGaA ) +may be prefixed by an +.Cm L +to request that additional precision be used, if available. .El .Pp A field width or precision may be @@ -326,6 +331,11 @@ Since the floating point numbers are translated from .Tn ASCII to floating-point and then back again, floating-point precision may be lost. +(By default, the number is translated to an IEEE-754 double-precision +value before being printed. +The +.Cm L +modifier may produce additional precision, depending on the hardware platform.) .Pp .Tn ANSI hexadecimal character constants were deliberately not provided. |
