From 763b814eb6ad8f9368382327c11794cb4721d643 Mon Sep 17 00:00:00 2001 From: martynas Date: Tue, 29 Jul 2008 22:12:29 +0000 Subject: [PATCH] add descriptions for fpclassify, isfinite, isnormal, nan, remquo, signbit --- lib/libm/man/math.3 | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/lib/libm/man/math.3 b/lib/libm/man/math.3 index 79dfa5480c3..f7337be2f4e 100644 --- a/lib/libm/man/math.3 +++ b/lib/libm/man/math.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: math.3,v 1.23 2008/06/16 10:15:16 martynas Exp $ +.\" $OpenBSD: math.3,v 1.24 2008/07/29 22:12:29 martynas Exp $ .\" Copyright (c) 1985 Regents of the University of California. .\" All rights reserved. .\" @@ -32,7 +32,7 @@ .ds Si sig. .if t \ .ds Si significant -.Dd $Mdocdate: June 16 2008 $ +.Dd $Mdocdate: July 29 2008 $ .Dt MATH 3 .Sh NAME .Nm math @@ -66,13 +66,15 @@ Declarations for these functions may be obtained from the include file .It exp(3) Ta "exponential" Ta 1 .It expm1(3) Ta "exp(x)-1" Ta 1 .It fabs(3) Ta "absolute value" Ta 0 -.It finite(3) Ta "test for finite value" Ta 0 .It floor(3) Ta "integer no greater than" Ta 0 .It fmod(3) Ta "remainder" Ta 0 +.It fpclassify(3) Ta "classify real floating type" Ta 0 .It hypot(3) Ta "Euclidean distance" Ta 1 .It ilogb(3) Ta "exponent extraction" Ta 0 +.It isfinite(3) Ta "test for finite value" Ta 0 .It isinf(3) Ta "check for infinity" Ta 0 .It isnan(3) Ta "check for not-a-number" Ta 0 +.It isnormal(3) Ta "test for normal value" Ta 0 .It j0(3) Ta "Bessel function" Ta ??? .It j1(3) Ta "Bessel function" Ta ??? .It jn(3) Ta "Bessel function" Ta ??? @@ -80,12 +82,15 @@ Declarations for these functions may be obtained from the include file .It log(3) Ta "natural logarithm" Ta 1 .It log10(3) Ta "logarithm to base 10" Ta 3 .It log1p(3) Ta "log(1+x)" Ta 1 +.It nan(3) Ta "generate NaN" Ta 0 .It nextafter(3) Ta "next representable number" Ta 0 .It pow(3) Ta "exponential x**y" Ta 60-500 .It remainder(3) Ta "remainder" Ta 0 +.It remquo(3) Ta "remainder" Ta 0 .It rint(3) Ta "round to nearest integer" Ta 0 .It round(3) Ta "round to nearest integer" Ta 0 .It scalbn(3) Ta "exponent adjustment" Ta 0 +.It signbit(3) Ta "test sign" Ta 0 .It sin(3) Ta "trigonometric function" Ta 1 .It sinh(3) Ta "hyperbolic function" Ta 3 .It sqrt(3) Ta "square root" Ta 1 -- 2.20.1