Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/gdtoa Fix lying comment.



details:   https://anonhg.NetBSD.org/src/rev/8ed184dbf3e0
branches:  trunk
changeset: 374128:8ed184dbf3e0
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat Apr 01 23:44:11 2023 +0000

description:
Fix lying comment.

diffstat:

 lib/libc/gdtoa/gdtoa.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b340114282fe -r 8ed184dbf3e0 lib/libc/gdtoa/gdtoa.c
--- a/lib/libc/gdtoa/gdtoa.c    Sat Apr 01 15:57:20 2023 +0000
+++ b/lib/libc/gdtoa/gdtoa.c    Sat Apr 01 23:44:11 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gdtoa.c,v 1.8 2021/05/06 16:15:33 christos Exp $ */
+/* $NetBSD: gdtoa.c,v 1.9 2023/04/01 23:44:11 dholland Exp $ */
 
 /****************************************************************
 
@@ -128,7 +128,7 @@ gdtoa
        arguments of ecvt and fcvt; trailing zeros are suppressed from
        the returned string.  If not null, *rve is set to point
        to the end of the return value.  If d is +-Infinity or NaN,
-       then *decpt is set to 9999.
+       then *decpt is set to -32768.
        be = exponent: value = (integer represented by bits) * (2 to the power of be).
 
        mode:



Home | Main Index | Thread Index | Old Index