gamma(), gamma_r()

These functions both compute the logarithm of the gamma function.They are synonyms for lgamma and lgamma_r.

double gamma(double x); double gamma_r(double x, int *);

Note

Despite their names, these functions compute the logarithm of the gamma function, not the gamma function itself.

Note

These functions are deprecated.

Show/hideSee also

Reference

ARM C and C++ Libraries and Floating-Point Support User Guide:

Copyright © 2014 ARM. All rights reserved.ARM DUI 0809A
Non-ConfidentialID031214