Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
|
Prototype for *.c in ./missing, and for missing timeval struct. More...
Go to the source code of this file.
Data Structures | |
struct | timeval |
struct | timespec |
struct | timezone |
union | bytesequence4_or_float |
Macros | |
#define | M_PI 3.14159265358979323846 |
#define | M_PI_2 (M_PI/2) |
#define | INFINITY (rb_infinity.float_value) |
#define | USE_RB_INFINITY 1 |
#define | NAN (rb_nan.float_value) |
#define | USE_RB_NAN 1 |
#define | HUGE_VAL ((double)INFINITY) |
#define | HAVE_ISFINITE 1 |
#define | isfinite(x) finite(x) |
Functions | |
double | acosh (double) |
double | asinh (double) |
double | atanh (double) |
char * | crypt (const char *, const char *) |
int | dup2 (int, int) |
int | eaccess (const char *, int) |
double | round (double) |
int | finite (double) |
int | flock (int, int) |
double | hypot (double, double) |
double | erf (double) |
double | erfc (double) |
double | tgamma (double) |
double | lgamma_r (double, int *) |
double | cbrt (double) |
double | nan (const char *) |
double | nextafter (double x, double y) |
void * | memmove (void *, const void *, size_t) |
char * | strchr (const char *, int) |
char * | strrchr (const char *, int) |
char * | strerror (int) |
char * | strstr (const char *, const char *) |
size_t | strlcpy (char *, const char *, size_t) |
size_t | strlcat (char *, const char *, size_t) |
int | signbit (double x) |
int | ffs (int) |
void | setproctitle (const char *fmt,...) |
void | explicit_bzero (void *b, size_t len) |
Variables | |
const union bytesequence4_or_float | rb_infinity |
const union bytesequence4_or_float | rb_nan |
Prototype for *.c in ./missing, and for missing timeval struct.
Definition in file missing.h.
double acosh | ( | double | x | ) |
Definition at line 36 of file acosh.c.
References BIG_CRITERIA.
double asinh | ( | double | x | ) |
Definition at line 52 of file acosh.c.
References BIG_CRITERIA, DBL_MANT_DIG, neg, and SMALL_CRITERIA.
double atanh | ( | double | x | ) |
Definition at line 75 of file acosh.c.
References isinf(), neg, and SMALL_CRITERIA.
Definition at line 27 of file dup2.c.
References BADEXIT, F_DUPFD, and fcntl().
Referenced by goruby_options(), main(), rb_cloexec_dup2(), and rb_w32_dup2().
double erf | ( | double | x | ) |
Definition at line 71 of file erf.c.
References finite(), isnan, and LOG_PI_OVER_2.
double erfc | ( | double | x | ) |
Definition at line 81 of file erf.c.
References finite(), isnan, and LOG_PI_OVER_2.
void explicit_bzero | ( | void * | b, |
size_t | len | ||
) |
Definition at line 77 of file explicit_bzero.c.
References len.
Referenced by Init_RandomSeedCore().
int finite | ( | double | n | ) |
double lgamma_r | ( | double | x, |
int * | signp | ||
) |
void * memmove | ( | void * | d, |
const void * | s, | ||
size_t | n | ||
) |
Definition at line 7 of file memmove.c.
Referenced by ffi_prep_args(), ffi_v9_layout_struct(), gzvprintf(), rb_str_drop_bytes(), rb_w32_fdclr(), rb_w32_strerror(), and rotate().
double nan | ( | const char * | spec | ) |
Definition at line 7 of file nan.c.
References assert, free, len, malloc, NAN, NULL, snprintf, and strtod.
Referenced by Init_Numeric(), rb_int_fdiv_double(), rb_rational_pow(), and VpGetDoubleNaN().
double nextafter | ( | double | x, |
double | y | ||
) |
Definition at line 9 of file nextafter.c.
References DBL_EPSILON, DBL_MANT_DIG, DBL_MAX, DBL_MIN, DBL_MIN_EXP, isinf(), and isnan.
double round | ( | double | x | ) |
void setproctitle | ( | const char * | fmt, |
... | |||
) |
Definition at line 139 of file setproctitle.c.
References len, NULL, SPT_PADCHAR, strlcpy(), strlen(), and vsnprintf.
int signbit | ( | double | x | ) |
char * strerror | ( | int | error | ) |
Definition at line 11 of file strerror.c.
References error(), snprintf, and sys_errlist.
Referenced by dln_load(), gunzip(), gzip_normalize(), rb_bug_errno(), rb_maygvl_fd_fix_cloexec(), rb_threadptr_root_fiber_setup(), and rb_w32_strerror().
size_t strlcat | ( | char * | dst, |
const char * | src, | ||
size_t | dsize | ||
) |
Definition at line 31 of file strlcat.c.
References strlen().
Referenced by rb_file_expand_path_internal().
size_t strlcpy | ( | char * | dst, |
const char * | src, | ||
size_t | dsize | ||
) |
Definition at line 29 of file strlcpy.c.
Referenced by rb_w32_strerror(), and setproctitle().
double tgamma | ( | double | x | ) |
Definition at line 66 of file tgamma.c.
References domain_error, f, HUGE_VAL, isinf(), lgamma_r(), and PI.
|
extern |
|
extern |