lgamma.3 (457f6cd2d6a252c742a247d30d8483a2a8f7d8e7) | lgamma.3 (3892c30012a1d0e8e63be132db3149782c2b711a) |
---|---|
1.\" Copyright (c) 1985, 1991 Regents of the University of California. 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 42 unchanged lines hidden (view full) --- 51.Sh SYNOPSIS 52.In math.h 53.Ft extern int 54.Fa signgam ; 55.sp 56.Ft double 57.Fn lgamma "double x" 58.Ft double | 1.\" Copyright (c) 1985, 1991 Regents of the University of California. 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 42 unchanged lines hidden (view full) --- 51.Sh SYNOPSIS 52.In math.h 53.Ft extern int 54.Fa signgam ; 55.sp 56.Ft double 57.Fn lgamma "double x" 58.Ft double |
59.Fn lgamma_r "double x, int *signgamp" | 59.Fn lgamma_r "double x" "int *signgamp" |
60.Ft float 61.Fn lgammaf "float x" 62.Ft float | 60.Ft float 61.Fn lgammaf "float x" 62.Ft float |
63.Fn lgammaf_r "float x, int *signgamp" | 63.Fn lgammaf_r "float x" "int *signgamp" |
64.Ft double 65.Fn gamma "double x" 66.Ft double | 64.Ft double 65.Fn gamma "double x" 66.Ft double |
67.Fn gamma_r "double x, int *signgamp" | 67.Fn gamma_r "double x" "int *signgamp" |
68.Ft float 69.Fn gammaf "float x" 70.Ft float | 68.Ft float 69.Fn gammaf "float x" 70.Ft float |
71.Fn gammaf_r "float x, int *signgamp" | 71.Fn gammaf_r "float x" "int *signgamp" |
72.Ft double 73.Fn tgamma "double x" 74.Sh DESCRIPTION 75.Fn lgamma x 76and 77.Fn lgammaf x 78.if t \{\ 79return ln\||\(*G(x)| where --- 12 unchanged lines hidden (view full) --- 92.Pp 93.Fn lgamma_r x signgamp 94and 95.Fn lgammaf_r x signgamp 96provide the same functionality as 97.Fn lgamma x 98and 99.Fn lgammaf x | 72.Ft double 73.Fn tgamma "double x" 74.Sh DESCRIPTION 75.Fn lgamma x 76and 77.Fn lgammaf x 78.if t \{\ 79return ln\||\(*G(x)| where --- 12 unchanged lines hidden (view full) --- 92.Pp 93.Fn lgamma_r x signgamp 94and 95.Fn lgammaf_r x signgamp 96provide the same functionality as 97.Fn lgamma x 98and 99.Fn lgammaf x |
100but the caller must provide an integer to store the sign of \(*G(x) | 100but the caller must provide an integer to store the sign of \(*G(x). |
101.Pp 102.Fn gamma , 103.Fn gammaf , 104.Fn gamma_r , 105and 106.Fn gammaf_r 107are deprecated aliases for 108.Fn lgamma , --- 24 unchanged lines hidden (view full) --- 133.Fn tgamma 134is preferred, as for positive arguments 135it is accurate to within one unit in the last place. 136Exponentiation of 137.Fn lgamma 138will lose up to 10 significant bits. 139.Sh RETURN VALUES 140.Fn gamma , | 101.Pp 102.Fn gamma , 103.Fn gammaf , 104.Fn gamma_r , 105and 106.Fn gammaf_r 107are deprecated aliases for 108.Fn lgamma , --- 24 unchanged lines hidden (view full) --- 133.Fn tgamma 134is preferred, as for positive arguments 135it is accurate to within one unit in the last place. 136Exponentiation of 137.Fn lgamma 138will lose up to 10 significant bits. 139.Sh RETURN VALUES 140.Fn gamma , |
141.Fn gamma_r, | 141.Fn gamma_r , |
142.Fn gammaf , 143.Fn gammaf_r , 144.Fn lgamma , 145.Fn lgamma_r , | 142.Fn gammaf , 143.Fn gammaf_r , 144.Fn lgamma , 145.Fn lgamma_r , |
146.Fn lgammaf, | 146.Fn lgammaf , |
147and 148.Fn lgammaf_r 149return appropriate values unless an argument is out of range. 150Overflow will occur for sufficiently large positive values, and 151non-positive integers. 152On the 153.Tn VAX , 154the reserved operator is returned, --- 39 unchanged lines hidden --- | 147and 148.Fn lgammaf_r 149return appropriate values unless an argument is out of range. 150Overflow will occur for sufficiently large positive values, and 151non-positive integers. 152On the 153.Tn VAX , 154the reserved operator is returned, --- 39 unchanged lines hidden --- |