Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/sys Spell the number of nanoseconds as 10^9.



details:   https://anonhg.NetBSD.org/src/rev/8b8ced189634
branches:  trunk
changeset: 1023699:8b8ced189634
user:      uwe <uwe%NetBSD.org@localhost>
date:      Thu Sep 23 13:49:59 2021 +0000

description:
Spell the number of nanoseconds as 10^9.

10^9 is 1e9 (it's "e" that spells 10 here), not 10e9.  The target
audience of this man page is not likely to be very fluent in floating
point, so avoid significand/exponent spelling and use the spelling
that it is familiar with.

diffstat:

 lib/libc/sys/timer_settime.2 |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r c919fd2e87e1 -r 8b8ced189634 lib/libc/sys/timer_settime.2
--- a/lib/libc/sys/timer_settime.2      Thu Sep 23 13:16:13 2021 +0000
+++ b/lib/libc/sys/timer_settime.2      Thu Sep 23 13:49:59 2021 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: timer_settime.2,v 1.9 2012/11/06 23:25:44 wiz Exp $
+.\"    $NetBSD: timer_settime.2,v 1.10 2021/09/23 13:49:59 uwe Exp $
 .\"
 .\" Copyright (c) 2003 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -160,7 +160,8 @@
 .It Bq Er EINVAL
 A nanosecond field in the
 .Ar tim
-structure specified a value less than zero or greater than or equal to 10e9.
+structure specified a value less than zero or greater than or equal
+to\~10^9.
 .El
 .Sh SEE ALSO
 .Xr clock_gettime 2 ,



Home | Main Index | Thread Index | Old Index