mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 16:40:24 +02:00
31902: rationalise use of gamma function.
Make zsh/mathfunc consistent across systems and use tgamma() where available
This commit is contained in:
parent
7a79f660db
commit
ef4d20ad6f
5 changed files with 22 additions and 2 deletions
|
@ -33,7 +33,7 @@ returns an integer.
|
|||
The function tt(signgam) takes no arguments, and returns an integer, which
|
||||
is the C variable of the same name, as described in manref(gamma)(3). Note
|
||||
that it is therefore only useful immediately after a call to tt(gamma) or
|
||||
tt(lgamma). Note also that `tt(signgam+LPAR()RPAR)' and `tt(signgam)' are
|
||||
tt(lgamma). Note also that `tt(signgam+LPAR()RPAR())' and `tt(signgam)' are
|
||||
distinct expressions.
|
||||
|
||||
The following functions take two floating point arguments: tt(copysign),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue