#include "ruby/config.h"#include <math.h>#include <errno.h>

Go to the source code of this file.
Defines | |
| #define | PI 3.14159265358979324 |
| #define | LOG_2PI 1.83787706640934548 |
| #define | N 8 |
| #define | B0 1 |
| #define | B1 (-1.0 / 2.0) |
| #define | B2 ( 1.0 / 6.0) |
| #define | B4 (-1.0 / 30.0) |
| #define | B6 ( 1.0 / 42.0) |
| #define | B8 (-1.0 / 30.0) |
| #define | B10 ( 5.0 / 66.0) |
| #define | B12 (-691.0 / 2730.0) |
| #define | B14 ( 7.0 / 6.0) |
| #define | B16 (-3617.0 / 510.0) |
Functions | |
| static double | loggamma (double x) |
| double | tgamma (double x) |
| static double loggamma | ( | double | x | ) | [static] |
| double tgamma | ( | double | x | ) |
Definition at line 72 of file tgamma.c.
References errno, loggamma(), PI, and zero().
Referenced by math_gamma().