Files
wren/src
Marco Lizza 5ffb2815ae feat: add integer division primitive 'div' to num class in wren_core.c
Implement DEF_PRIMITIVE(num_div) that casts both operands to int32_t
and performs integer division, returning the truncated quotient.
Register the new primitive as "div(_)" on the num class in
wrenInitializeCore, placed alphabetically between "deg" and "floor".
2015-03-04 15:10:37 +00:00
..