This commit is contained in:
Araq 2012-05-20 10:56:17 +02:00
commit 15dd3a2251
9 changed files with 95 additions and 16 deletions

View file

@ -947,7 +947,9 @@ proc formatBiggestFloat*(f: BiggestFloat, format: TFloatFormat = ffDefault,
## If ``format == ffScientific`` then precision is the maximum number
## of significant digits to be printed.
## `precision`'s default value is the maximum number of meaningful digits
## after the decimal point for Nimrod's ``biggestFloat`` type.
## after the decimal point for Nimrod's ``biggestFloat`` type.
##
## If ``precision == 0``, it uses the
const floatFormatToChar: array[TFloatFormat, char] = ['g', 'f', 'e']
var
frmtstr {.noinit.}: array[0..5, char]