1. Computing & Technology
Linux / Unix Command: gammal
Command Library

NAME

gamma - logarithm of the gamma function  

SYNOPSIS

#include <math.h>

double gamma (double x);

float gammaf (float x);

long double gammal (long double x);

 

DESCRIPTION

The gamma() functions exist for compatibility reasons. They are equivalent to lgamma() etc. Use these. Use of the name gamma() is confusing, since these functions do not compute the Gamma function, but the natural logarithm of the Gamma function.  

CONFORMING TO

Nonstandard. Compatible with previous mistakes.  

SEE ALSO

lgamma(3), signgam(3), tgamma(3)


Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Discuss in my forum

©2012 About.com. All rights reserved.

A part of The New York Times Company.