|
Ruby
1.9.3p551(2014-11-13revision48407)
|
#include <errno.h>#include <float.h>#include <math.h>#include "ruby.h"Go to the source code of this file.
Macros | |
| #define | DBL_MANT_DIG 53 /* in this case, at least 12 digit precision */ |
| #define | BIG_CRITERIA_BIT (1<<DBL_MANT_DIG/2) |
| #define | BIG_CRITERIA (1.0*BIG_CRITERIA_BIT) |
| #define | SMALL_CRITERIA_BIT (1<<(DBL_MANT_DIG/3)) |
| #define | SMALL_CRITERIA (1.0/SMALL_CRITERIA_BIT) |
Functions | |
| double | acosh (double x) |
| double | asinh (double x) |
| double | atanh (double x) |
| #define BIG_CRITERIA (1.0*BIG_CRITERIA_BIT) |
| #define BIG_CRITERIA_BIT (1<<DBL_MANT_DIG/2) |
| #define DBL_MANT_DIG 53 /* in this case, at least 12 digit precision */ |
Definition at line 19 of file acosh.c.
Referenced by asinh(), big2dbl(), big_fdiv(), float_decode_internal(), and ruby_hdtoa().
| #define SMALL_CRITERIA (1.0/SMALL_CRITERIA_BIT) |
| #define SMALL_CRITERIA_BIT (1<<(DBL_MANT_DIG/3)) |
| double acosh | ( | double | x | ) |
| double asinh | ( | double | x | ) |
Definition at line 52 of file acosh.c.
References BIG_CRITERIA, DBL_MANT_DIG, neg, and SMALL_CRITERIA.
Referenced by math_asinh().
| double atanh | ( | double | x | ) |
Definition at line 75 of file acosh.c.
References errno, isinf(), neg, and SMALL_CRITERIA.
Referenced by math_atanh().
1.8.14