Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/gen Move VAX notes to CAVEATS, clarify that it just...



details:   https://anonhg.NetBSD.org/src/rev/46ce601113af
branches:  trunk
changeset: 826748:46ce601113af
user:      maya <maya%NetBSD.org@localhost>
date:      Wed Sep 27 09:04:30 2017 +0000

description:
Move VAX notes to CAVEATS, clarify that it just returns zero

The VAX isinf implementation is in sys/arch/vax/include/math.h.

diffstat:

 lib/libc/gen/isinf.3 |  15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diffs (40 lines):

diff -r 9741fbaecf16 -r 46ce601113af lib/libc/gen/isinf.3
--- a/lib/libc/gen/isinf.3      Wed Sep 27 08:43:19 2017 +0000
+++ b/lib/libc/gen/isinf.3      Wed Sep 27 09:04:30 2017 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: isinf.3,v 1.12 2004/03/04 23:47:56 wiz Exp $
+.\"    $NetBSD: isinf.3,v 1.13 2017/09/27 09:04:30 maya Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)isinf.3    8.2 (Berkeley) 1/29/94
 .\"
-.Dd March 5, 2004
+.Dd September 27, 2017
 .Dt ISINF 3
 .Os
 .Sh NAME
@@ -50,12 +50,6 @@
 An argument represented in a format wider than its semantic type is
 converted to its semantic type first.
 The determination is then based on the type of the argument.
-.Ss IEEE 754
-It is determined whether the value of
-.Fa x
-is an infinity.
-.Ss VAX
-Infinities are not supported.
 .Sh RETURN VALUES
 The
 .Fn isinf
@@ -82,3 +76,8 @@
 .Fn isinf
 macro conforms to
 .St -isoC-99 .
+.Sh CAVEATS
+On VAX the
+.Fn isinf
+function always returns 0,
+as the architecture doesn't have a representation for infinity.



Home | Main Index | Thread Index | Old Index