diff options
author | 2018-04-27 13:46:01 +0000 | |
---|---|---|
committer | 2018-04-27 13:46:01 +0000 | |
commit | 15f0a8cd952402decd30dd7c501db1134b2016db (patch) | |
tree | 0fd95e556289a785379f0695a60085ce7b8c2422 /lib/libc | |
parent | <sys/mount.h> and <sys/swap.h> no longer require <sys/param.h> (diff) | |
download | wireguard-openbsd-15f0a8cd952402decd30dd7c501db1134b2016db.tar.xz wireguard-openbsd-15f0a8cd952402decd30dd7c501db1134b2016db.zip |
Fix typo in binary-float example in comment
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gdtoa/hdtoa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gdtoa/hdtoa.c b/lib/libc/gdtoa/hdtoa.c index 45caef40a50..43e24474d64 100644 --- a/lib/libc/gdtoa/hdtoa.c +++ b/lib/libc/gdtoa/hdtoa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hdtoa.c,v 1.3 2015/09/14 12:49:33 guenther Exp $ */ +/* $OpenBSD: hdtoa.c,v 1.4 2018/04/27 13:46:01 guenther Exp $ */ /*- * Copyright (c) 2004, 2005 David Schultz <das@FreeBSD.ORG> * All rights reserved. @@ -112,7 +112,7 @@ dorounding(char *s0, int ndigits, int sign, int *decpt) * * Note that the C99 standard does not specify what the leading digit * should be for non-zero numbers. For instance, 0x1.3p3 is the same - * as 0x2.6p2 is the same as 0x4.cp3. This implementation chooses the + * as 0x2.6p2 is the same as 0x4.cp1. This implementation chooses the * first digit so that subsequent digits are aligned on nibble * boundaries (before rounding). * |