(b76ad15ed0da636161de0243c547ee1e6fc95681)
#include "ruby/internal/config.h"
#include <errno.h>
#include <float.h>
#include <math.h>
#include "internal.h"
#include "internal/bignum.h"
#include "internal/complex.h"
#include "internal/object.h"
#include "internal/vm.h"
Go to the source code of this file.
◆ _USE_MATH_DEFINES
#define _USE_MATH_DEFINES 1 |
◆ domain_check_min
#define domain_check_min |
( |
|
val, |
|
|
|
min, |
|
|
|
msg |
|
) |
| ((val) < (min) ? domain_error(msg) : (void)0) |
◆ domain_check_range
#define domain_check_range |
( |
|
val, |
|
|
|
min, |
|
|
|
max, |
|
|
|
msg |
|
) |
| ((val) < (min) || (max) < (val) ? domain_error(msg) : (void)0) |
◆ domain_error
◆ exp1
Value:VALUE \
{\
return math_##n(0, x);\
}
Definition at line 922 of file math.c.
◆ exp2
Value:VALUE \
{\
return math_##n(0, x,
y);\
}
Definition at line 929 of file math.c.
◆ Get_Double
◆ M_LN10
#define M_LN10 2.30258509299404568401799145468436421 |
◆ M_LN2
#define M_LN2 0.693147180559945309417232121458176568 |
◆ RB_BIGNUM_TYPE_P
#define RB_BIGNUM_TYPE_P |
( |
|
x | ) |
RB_TYPE_P((x), T_BIGNUM) |
◆ cosh()
◆ exp2()
◆ FUNC_MINIMIZED()
FUNC_MINIMIZED |
( |
static VALUE |
math_logint, const VALUE *, VALUE | ) |
|
◆ Init_Math()
◆ log2()
◆ rb_math_log()
◆ sinh()
◆ tanh()
◆ rb_eMathDomainError
VALUE rb_eMathDomainError |
◆ rb_mMath