Remove functions/macros that are not in <tgmath.h> in NetBSD.

Use .Xr instead of .Fn for those functions/macros that have a manual page.
This commit is contained in:
jruoho 2010-12-14 17:27:32 +00:00
parent 355e0e74e8
commit 6a1d1f627b

View File

@ -1,4 +1,4 @@
.\" $NetBSD: tgmath.3,v 1.5 2010/05/14 02:45:02 joerg Exp $
.\" $NetBSD: tgmath.3,v 1.6 2010/12/14 17:27:32 jruoho Exp $
.\"
.\" Copyright (c) 2004 Stefan Farfeleder
.\" All rights reserved.
@ -26,7 +26,7 @@
.\"
.\" $FreeBSD: src/share/man/man3/tgmath.3,v 1.3 2007/12/15 02:40:10 das Exp $
.\"
.Dd April 14, 2010
.Dd December 14, 2010
.Dt TGMATH 3
.Os
.Sh NAME
@ -88,44 +88,44 @@ complex value.
Otherwise, the real equivalent is called.
.Bl -column -offset indent \
"COMPLEX FUNCTION" "COMPLEX FUNCTION" "COMPLEX FUNCTION"
.It Sy MACRO Ta Sy REAL FUNCTION Ta Sy COMPLEX FUNCTION
.It Fn acos Ta Fn acos Ta Fn cacos
.It Fn asin Ta Fn asin Ta Fn casin
.It Fn atan Ta Fn atan Ta Fn catan
.It Fn acosh Ta Fn acosh Ta Fn cacosh
.It Fn asinh Ta Fn asinh Ta Fn casinh
.It Fn atanh Ta Fn atanh Ta Fn catanh
.It Fn cos Ta Fn cos Ta Fn ccos
.It Fn sin Ta Fn sin Ta Fn csin
.It Fn tan Ta Fn tan Ta Fn ctan
.It Fn cosh Ta Fn cosh Ta Fn ccosh
.It Fn sinh Ta Fn sinh Ta Fn csinh
.It Fn tanh Ta Fn tanh Ta Fn ctanh
.It Fn exp Ta Fn exp Ta Fn cexp
.It Fn log Ta Fn log Ta Fn clog
.It Fn pow Ta Fn pow Ta Fn cpow
.It Fn sqrt Ta Fn sqrt Ta Fn csqrt
.It Fn fabs Ta Fn fabs Ta Fn cabs
.It Sy Macro Ta Sy Real function Ta Sy Complex function
.It Fn acos Ta Xr acos 3 Ta Xr cacos 3
.It Fn asin Ta Xr asin 3 Ta Xr casin 3
.It Fn atan Ta Xr atan 3 Ta Xr catan 3
.It Fn acosh Ta Xr acosh 3 Ta Xr cacosh 3
.It Fn asinh Ta Xr asinh 3 Ta Xr casinh 3
.It Fn atanh Ta Xr atanh 3 Ta Xr catanh 3
.It Fn cos Ta Xr cos 3 Ta Xr ccos 3
.It Fn sin Ta Xr sin 3 Ta Xr csin 3
.It Fn tan Ta Xr tan 3 Ta Xr ctan 3
.It Fn cosh Ta Xr cosh 3 Ta Xr ccosh 3
.It Fn sinh Ta Xr sinh 3 Ta Xr csinh 3
.It Fn tanh Ta Xr tanh 3 Ta Xr ctanh 3
.It Fn exp Ta Xr exp 3 Ta Xr cexp 3
.It Fn log Ta Xr log 3 Ta Xr clog 3
.It Fn pow Ta Xr pow 3 Ta Xr cpow 3
.It Fn sqrt Ta Xr sqrt 3 Ta Xr csqrt 3
.It Fn fabs Ta Xr fabs 3 Ta Xr cabs 3
.El
.Pp
No complex functions exist for the following macros, so passing a
complex value to a generic argument invokes undefined behaviour:
.Bl -column -offset indent ".Fn nexttoward" ".Fn nexttoward" ".Fn nexttoward"
.It Fn atan2 Ta Fn fma Ta Fn llround Ta Fn remainder
.It Fn cbrt Ta Fn fmax Ta Fn log10 Ta Fn remquo
.It Fn ceil Ta Fn fmin Ta Fn log1p Ta Fn rint
.It Fn copysign Ta Fn fmod Ta Fn log2 Ta Fn round
.It Fn erf Ta Fn frexp Ta Fn logb Ta Fn scalbn
.It Fn erfc Ta Fn hypot Ta Fn lrint Ta Fn scalbln
.It Fn exp2 Ta Fn ilogb Ta Fn lround Ta Fn tgamma
.It Fn expm1 Ta Fn ldexp Ta Fn nextbyint Ta Fn trunc
.It Fn fdim Ta Fn lgamma Ta Fn nextafter
.It Fn floor Ta Fn llrint Ta Fn nexttoward
.It Xr atan2 3 Ta Fn fma Ta Fn llround Ta Xr remainder 3
.It Xr cbrt 3 Ta Xr fmax 3 Ta Xr log10 3 Ta Fn remquo
.It Xr ceil 3 Ta Xr fmin 3 Ta Xr log1p 3 Ta Xr rint 3
.It Xr copysign 3 Ta Xr fmod 3 Ta Xr log2 3 Ta Xr round 3
.It Xr erf 3 Ta Xr frexp 3 Ta Xr logb 3 Ta Xr scalbn 3
.It Xr erfc 3 Ta Xr hypot 3 Ta Xr lrint 3 Ta Fn tgamma
.It Xr exp2 3 Ta Xr ilogb 3 Ta Fn lround Ta Xr trunc 3
.It Xr expm1 3 Ta Xr ldexp 3 Ta Xr nextafter 3
.It Xr fdim 3 Ta Xr lgamma 3 Ta
.It Xr floor 3 Ta Xr llrint 3 Ta
.El
.Pp
The following macros always expand to a complex function:
.Bl -column -offset indent ".Fn cimag" ".Fn cimag" ".Fn cimag" ".Fn cimag" ".Fn cimag"
.It Fn carg Ta Fn cimag Ta Fn conj Ta Fn cproj Ta Fn creal
.It Xr carg 3 Ta Xr cimag 3 Ta Xr conj 3 Ta Fn cproj Xr creal 3
.El
.Pp
This header includes