FreeBSD Bugzilla – Attachment 15671 Details for
Bug 28972
gamma(3) returns same result as lgamma
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
ddd
ddd (text/plain; charset=us-ascii), 1.24 KB, created by
Stephen Montgomery-Smith
on 2001-07-15 17:06:37 UTC
(
hide
)
Description:
ddd
Filename:
MIME Type:
Creator:
Stephen Montgomery-Smith
Created:
2001-07-15 17:06:37 UTC
Size:
1.24 KB
patch
obsolete
>--- lgamma.3-orig Sun Jul 15 10:59:56 2001 >+++ lgamma.3 Sun Jul 15 11:03:22 2001 >@@ -68,7 +68,7 @@ > returns the sign of \(*G(x). > .Pp > .Fn Gamma x >-returns \(*G(x), with no effect on >+returns ln\||\(*G(x)|, with no effect on > .Fa signgam . > .Sh IDIOSYNCRASIES > Do not use the expression >@@ -82,14 +82,14 @@ > Only after > .Fn lgamma > has returned can signgam be correct. >-.Pp >-For arguments in its range, >-.Fn gamma >-is preferred, as for positive arguments >-it is accurate to within one unit in the last place. >-Exponentiation of >-.Fn lgamma >-will lose up to 10 significant bits. >+.\.Pp >+.\For arguments in its range, >+.\.Fn gamma >+.\is preferred, as for positive arguments >+.\it is accurate to within one unit in the last place. >+.\Exponentiation of >+.\.Fn lgamma >+.\will lose up to 10 significant bits. > .Sh RETURN VALUES > .Fn Gamma > and >@@ -123,4 +123,12 @@ > .Fn gamma > was originally dedicated to the > .Fn lgamma >-function, so some old code may no longer be compatible. >+function, but then some old code was no longer compatible. >+Then the name >+.Fn gamma >+came to mean a function that computed \(*G(x). But this caused other >+compatibility >+problems, so now >+.Fn gamma >+computes ln\||\(*G(x)|. But it uses a different algorithm, and it doesn't set >+.Fa signgam .
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 28972
: 15671