Difference between revisions of "Documentation/How Tos/Calc: GAMMA function"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Automated text replacement %s)
Line 36: Line 36:
  
 
=== See also ===
 
=== See also ===
−
[[Documentation/How_Tos/Calc: GAMMADIST function|'''GAMMALN''']],
+
* [[Documentation/How_Tos/Calc: GAMMADIST function|GAMMALN]],
−
[[Documentation/How_Tos/Calc: GAMMAINV function|'''GAMMADIST''']],
+
* [[Documentation/How_Tos/Calc: GAMMAINV function|GAMMADIST]],
−
[[Documentation/How_Tos/Calc: GAMMAINV function|'''GAMMAINV''']],
+
* [[Documentation/How_Tos/Calc: GAMMAINV function|GAMMAINV]],
−
[[Documentation/How_Tos/Calc: GAMMAINV function|'''FACT''']]
+
* [[Documentation/How_Tos/Calc: GAMMAINV function|FACT]]
  
−
[[Documentation/How_Tos/Calc: Mathematical functions|'''Mathematical functions''']]
+
* [[Documentation/How_Tos/Calc: Mathematical functions|Mathematical functions]]
  
−
[[Documentation/How_Tos/Calc: Statistical functions|'''Statistical functions''']]
+
* [[Documentation/How_Tos/Calc: Statistical functions|Statistical functions]]
  
−
[[Documentation/How_Tos/Calc: Functions listed alphabetically|'''Functions listed alphabetically''']],
+
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
−
[[Documentation/How_Tos/Calc: Functions listed by category|'''Functions listed by category''']]
+
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
  
 
=== Issues ===
 
=== Issues ===
 
This function is expected for OOo3.1. {{Bug|94555}}
 
This function is expected for OOo3.1. {{Bug|94555}}

Revision as of 13:50, 25 February 2009


GAMMA

Returns the values of the Gamma function.

Syntax

GAMMA(x)

x is a number.
Constraint: If x is an integer, then x must be positive.

Semantic

GAMMA(x) calculates

.


Example

GAMMA(4) = 6.0 exact

GAMMA(34.56) ≈ 6.2336323276E+037

GAMMA(−4) not defined

Graph of the Gamma function

Remarks

For x < 0.5 Eulers reflection formula is used.

The Gamma function has poles for negative integers and for zero. Near the poles the values are less accurate.

If x is a positive integer, then

But be aware, that OpenOffice.org has only a precision of 15 digits and results, which would consists of more than 15 significant digits, are rounded.

See also

Issues

This function is expected for OOo3.1. Issue 94555

Personal tools