]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
gamma.3: SYNOPSIS: Mark as [[deprecated]]
authorAlejandro Colomar <alx.manpages@gmail.com>
Mon, 25 Oct 2021 19:29:29 +0000 (21:29 +0200)
committerAlejandro Colomar <alx.manpages@gmail.com>
Mon, 5 Sep 2022 01:01:30 +0000 (03:01 +0200)
These functions are misleading, and in some systems mean a
different thing (tgamma(3) vs lgamma(3)).  Never use gamma(3).

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
man3/gamma.3

index a0d1a0ac75c6360cbd6bbe8fff0b07afcd08e45a..e7eb528712770c125bd544b1dd2a13b3eefa4e15 100644 (file)
@@ -14,9 +14,9 @@ Math library
 .nf
 .B #include <math.h>
 .PP
-.BI "double gamma(double " x ");"
-.BI "float gammaf(float " x ");"
-.BI "long double gammal(long double " x ");"
+.BI "[[deprecated]] double gamma(double " x ");"
+.BI "[[deprecated]] float gammaf(float " x ");"
+.BI "[[deprecated]] long double gammal(long double " x ");"
 .fi
 .PP
 .RS -4