Commit Graph

1 Commits

Author SHA1 Message Date
underscorediscovery
a86e8158e4 feat: add natural logarithm method to Num class with C binding and test
Implement the `log` method on Num by adding a DEF_NUM_FN(log, log) macro invocation in wren_core.c, registering the corresponding primitive `num_log` on the numClass, and creating a new test file test/core/number/log.wren that validates positive and negative input behavior.
2016-10-31 19:52:32 +00:00