Searched refs:JANET_CORE_DEF (Results 1 – 3 of 3) sorted by relevance
/dports/lang/janet/janet-1.19.2/src/core/ |
H A D | math.c | 401 JANET_CORE_DEF(env, "math/pi", janet_wrap_number(3.1415926535897931), in janet_lib_math() 403 JANET_CORE_DEF(env, "math/e", janet_wrap_number(2.7182818284590451), in janet_lib_math() 405 JANET_CORE_DEF(env, "math/inf", janet_wrap_number(INFINITY), in janet_lib_math() 407 JANET_CORE_DEF(env, "math/-inf", janet_wrap_number(-INFINITY), in janet_lib_math() 409 JANET_CORE_DEF(env, "math/int32-min", janet_wrap_number(INT32_MIN), in janet_lib_math() 411 JANET_CORE_DEF(env, "math/int32-max", janet_wrap_number(INT32_MAX), in janet_lib_math() 413 JANET_CORE_DEF(env, "math/int-min", janet_wrap_number(JANET_INTMIN_DOUBLE), in janet_lib_math() 415 JANET_CORE_DEF(env, "math/int-max", janet_wrap_number(JANET_INTMAX_DOUBLE), in janet_lib_math() 418 JANET_CORE_DEF(env, "math/nan", janet_wrap_number(NAN), "Not a number (IEEE-754 NaN)"); in janet_lib_math() 420 JANET_CORE_DEF(env, "math/nan", janet_wrap_number(0.0 / 0.0), "Not a number (IEEE-754 NaN)"); in janet_lib_math()
|
H A D | util.h | 102 #define JANET_CORE_DEF JANET_DEF macro 108 #define JANET_CORE_DEF(ENV, NAME, X, DOC) janet_core_def_sm(ENV, NAME, X, DOC, NULL, 0) macro
|
H A D | io.c | 814 JANET_CORE_DEF(env, "stdout", in janet_lib_io() 818 JANET_CORE_DEF(env, "stderr", in janet_lib_io() 822 JANET_CORE_DEF(env, "stdin", in janet_lib_io()
|