(b76ad15ed0da636161de0243c547ee1e6fc95681)
#include "ruby/internal/config.h"
#include "ruby/missing.h"
#include <math.h>
#include <errno.h>
Go to the source code of this file.
|  | 
| #define | PI   3.14159265358979324  /* $\pi$ */ | 
|  | 
| #define | LOG_2PI   1.83787706640934548  /* $\log 2\pi$ */ | 
|  | 
| #define | N   8 | 
|  | 
| #define | B0   1                 /* Bernoulli numbers */ | 
|  | 
| #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) | 
|  | 
◆ B0
      
        
          | #define B0   1                 /* Bernoulli numbers */ | 
      
 
 
◆ B1
◆ B10
      
        
          | #define B10   ( 5.0 / 66.0) | 
      
 
 
◆ B12
      
        
          | #define B12   (-691.0 / 2730.0) | 
      
 
 
◆ B14
◆ B16
      
        
          | #define B16   (-3617.0 / 510.0) | 
      
 
 
◆ B2
◆ B4
◆ B6
◆ B8
◆ LOG_2PI
      
        
          | #define LOG_2PI   1.83787706640934548  /* $\log 2\pi$ */ | 
      
 
 
◆ PI
      
        
          | #define PI   3.14159265358979324  /* $\pi$ */ | 
      
 
 
◆ tgamma()
      
        
          | double tgamma | ( | double | x | ) |  |