Sha256: 124e6c9924768d8de38dc68737aa7694fd6163f2d2ed3bc0b942981dcc127470
Contents?: true
Size: 1.1 KB
Versions: 3
Compression:
Stored size: 1.1 KB
Contents
/* ** C data arithmetic. ** Copyright (C) 2005-2017 Mike Pall. See Copyright Notice in luajit.h */ #ifndef _LJ_CARITH_H #define _LJ_CARITH_H #include "lj_obj.h" #if LJ_HASFFI LJ_FUNC int lj_carith_op(lua_State *L, MMS mm); #if LJ_32 LJ_FUNC uint64_t lj_carith_shl64(uint64_t x, int32_t sh); LJ_FUNC uint64_t lj_carith_shr64(uint64_t x, int32_t sh); LJ_FUNC uint64_t lj_carith_sar64(uint64_t x, int32_t sh); LJ_FUNC uint64_t lj_carith_rol64(uint64_t x, int32_t sh); LJ_FUNC uint64_t lj_carith_ror64(uint64_t x, int32_t sh); #endif LJ_FUNC uint64_t lj_carith_shift64(uint64_t x, int32_t sh, int op); LJ_FUNC uint64_t lj_carith_check64(lua_State *L, int narg, CTypeID *id); #if LJ_32 && LJ_HASJIT LJ_FUNC int64_t lj_carith_mul64(int64_t x, int64_t k); #endif LJ_FUNC uint64_t lj_carith_divu64(uint64_t a, uint64_t b); LJ_FUNC int64_t lj_carith_divi64(int64_t a, int64_t b); LJ_FUNC uint64_t lj_carith_modu64(uint64_t a, uint64_t b); LJ_FUNC int64_t lj_carith_modi64(int64_t a, int64_t b); LJ_FUNC uint64_t lj_carith_powu64(uint64_t x, uint64_t k); LJ_FUNC int64_t lj_carith_powi64(int64_t x, int64_t k); #endif #endif
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
immunio-2.0.4 | lua-hooks/ext/luajit/src/lj_carith.h |
immunio-2.0.3 | lua-hooks/ext/luajit/src/lj_carith.h |
immunio-2.0.2 | lua-hooks/ext/luajit/src/lj_carith.h |