Source-Changes-HG archive

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

[src/trunk]: src/lib/libm/man Remove trailing comma in enumeration, make HTML...



details:   https://anonhg.NetBSD.org/src/rev/a4189f0b8237
branches:  trunk
changeset: 756835:a4189f0b8237
user:      wiz <wiz%NetBSD.org@localhost>
date:      Wed Aug 04 18:58:28 2010 +0000

description:
Remove trailing comma in enumeration, make HTML-ready.

diffstat:

 lib/libm/man/fenv.3 |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (41 lines):

diff -r 6a33ad79012a -r a4189f0b8237 lib/libm/man/fenv.3
--- a/lib/libm/man/fenv.3       Wed Aug 04 18:58:18 2010 +0000
+++ b/lib/libm/man/fenv.3       Wed Aug 04 18:58:28 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: fenv.3,v 1.1 2010/07/31 21:47:53 joerg Exp $
+.\"    $NetBSD: fenv.3,v 1.2 2010/08/04 18:58:28 wiz Exp $
 .\" Copyright (c) 2004 David Schultz <das%FreeBSD.org@localhost>
 .\" All rights reserved.
 .\"
@@ -208,18 +208,18 @@
        double x = 1.0;
        fenv_t env;
 
-       if (isnan(n) || n < 0.0) {
+       if (isnan(n) || n \*[Lt] 0.0) {
                feraiseexcept(FE_INVALID);
                return (NAN);
        }
        if (isinf(n) || n == 0.0)
                return (n);
-       feholdexcept(&env);
-       while (fabs((x * x) - n) > DBL_EPSILON * 2 * x)
+       feholdexcept(\*[Am]env);
+       while (fabs((x * x) - n) \*[Gt] DBL_EPSILON * 2 * x)
                x = (x / 2) + (n / (2 * x));
        if (x * x == n)
                feclearexcept(FE_INEXACT);
-       feupdateenv(&env);
+       feupdateenv(\*[Am]env);
        return (x);
 }
 .Ed
@@ -238,7 +238,7 @@
 .Xr fesetexceptflag 3 ,
 .Xr fesetround 3 ,
 .Xr fetestexcept 3 ,
-.Xr feupdateenv 3 ,
+.Xr feupdateenv 3
 .\"Xr fpgetprec 3 ,
 .\"Xr fpsetprec 3
 .Sh STANDARDS



Home | Main Index | Thread Index | Old Index