[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: printing plural values outside unsigned long int range
From: |
Paul Eggert |
Subject: |
Re: printing plural values outside unsigned long int range |
Date: |
Thu, 17 Aug 2006 10:02:46 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Bruno Haible <address@hidden> writes:
> + printf (gettext ("Time elapsed: %.3f seconds"), num_milliseconds * 0.001);
A nit: that example has rounding problems; for example, on my Sparc
host if num_milliseconds is 9007199254740800, it outputs
"9007199254740.801 seconds". You can sidestep the problem by changing
"num_milliseconds * 0.001" to "num_seconds".
One other nit I saw in the neighborhood:
--- gettext.texi~ 2006-06-30 07:25:39.000000000 -0700
+++ gettext.texi 2006-08-17 09:58:04.000000000 -0700
@@ -2428,7 +2428,7 @@ it reads like this:
@end smallexample
In other words, @code{dgettext} is used instead of @code{gettext}.
-Similary, the @code{dngettext} function should be used in place of the
+Similarly, the @code{dngettext} function should be used in place of the
@code{ngettext} function.
@end enumerate