Searched refs:l_mathop (Results 1 – 12 of 12) sorted by relevance
| /freebsd-14.2/contrib/lua/src/ |
| H A D | lmathlib.c | 68 lua_pushnumber(L, l_mathop(atan2)(y, x)); in math_atan() 147 lua_Number ip = (n < 0) ? l_mathop(ceil)(n) : l_mathop(floor)(n); in math_modf() 173 res = l_mathop(log)(x); in math_log() 177 if (base == l_mathop(2.0)) in math_log() 178 res = l_mathop(log2)(x); in math_log() 181 if (base == l_mathop(10.0)) in math_log() 182 res = l_mathop(log10)(x); in math_log() 184 res = l_mathop(log)(x)/l_mathop(log)(base); in math_log() 478 (l_mathop(1.0) / (UONE << 30) / l_mathop(8.0) / (UONE << (FIGS - 33))) 677 lua_pushnumber(L, l_mathop(pow)(x, y)); in math_pow() [all …]
|
| H A D | luaconf.h | 409 #define l_floor(x) (l_mathop(floor)(x)) 442 #define l_mathop(op) op##f macro 458 #define l_mathop(op) op##l macro 473 #define l_mathop(op) op macro 631 #undef l_mathop /* variants not available */ 633 #define l_mathop(op) (lua_Number)op /* no variant */ macro
|
| H A D | lobject.c | 167 lua_Number r = l_mathop(0.0); /* result (accumulator) */ in lua_strx2number() 177 return l_mathop(0.0); /* invalid format (no '0x') */ in lua_strx2number() 187 r = (r * l_mathop(16.0)) + luaO_hexavalue(*s); in lua_strx2number() 194 return l_mathop(0.0); /* invalid format */ in lua_strx2number() 203 return l_mathop(0.0); /* invalid; must have at least one digit */ in lua_strx2number() 211 return l_mathop(ldexp)(r, e); in lua_strx2number()
|
| H A D | llimits.h | 334 { (void)L; (m) = l_mathop(fmod)(a,b); \ 341 ((void)L, (b == 2) ? (a)*(a) : l_mathop(pow)(a,b))
|
| H A D | luaconf.h.dist | 396 @@ l_mathop allows the addition of an 'l' or 'f' to all math operations. 404 #define l_floor(x) (l_mathop(floor)(x)) 437 #define l_mathop(op) op##f 453 #define l_mathop(op) op##l 468 #define l_mathop(op) op 626 #undef l_mathop /* variants not available */ 628 #define l_mathop(op) (lua_Number)op /* no variant */
|
| H A D | ltable.c | 134 n = l_mathop(frexp)(n, &i) * -cast_num(INT_MIN); in l_hashfloat() 136 lua_assert(luai_numisnan(n) || l_mathop(fabs)(n) == cast_num(HUGE_VAL)); in l_hashfloat()
|
| H A D | lcode.c | 611 const lua_Number q = l_mathop(ldexp)(l_mathop(1.0), -nbm + 1); in luaK_numberK() 617 l_mathop(fabs)(r) >= l_mathop(1e6)); in luaK_numberK()
|
| H A D | lstrlib.c | 1017 lua_Number dd = l_mathop(floor)(x); /* get integer part from 'x' */ in adddigit() 1034 lua_Number m = l_mathop(frexp)(x, &e); /* 'x' fraction and exponent */ in num2straux()
|
| /freebsd-14.2/stand/liblua/ |
| H A D | luaconf.h | 400 #define l_floor(x) (l_mathop(floor)(x)) 431 #define l_mathop(op) op##f macro 447 #define l_mathop(op) op##l macro 462 #define l_mathop(op) op macro 486 #define l_mathop(x) (lstd_ ## x) macro 653 #undef l_mathop /* variants not available */ 655 #define l_mathop(op) (lua_Number)op /* no variant */ macro
|
| H A D | luaconf.local.h | 34 #undef l_mathop 59 #define l_mathop(x) (lstd_ ## x) macro
|
| /freebsd-14.2/lib/liblua/ |
| H A D | luaconf.h | 407 #define l_floor(x) (l_mathop(floor)(x)) 440 #define l_mathop(op) op##f macro 456 #define l_mathop(op) op##l macro 471 #define l_mathop(op) op macro 636 #undef l_mathop /* variants not available */ 638 #define l_mathop(op) (lua_Number)op /* no variant */ macro
|
| /freebsd-14.2/sys/contrib/openzfs/include/sys/lua/ |
| H A D | luaconf.h | 410 #define l_mathop(x) (x ## l) macro
|