Commit Graph

1 Commits

Author SHA1 Message Date
Bob Nystrom
c430056f70 feat: implement modulo operator for numbers with fmod and add test suite
Add num_mod primitive using fmod from math.h to support the % operator on number types. Register the new primitive in the numClass method table. Include a comprehensive test file covering positive, negative, and left-associative modulo cases, plus a divide-by-zero TODO comment in the existing division test.
2013-11-10 05:01:18 +00:00