Bob Nystrom
be7682a656
feat: add log and pow methods to Num class with tests
...
Adds `log` method to Num class via DEF_NUM_FN macro, and `pow(_)` method via a new DEF_PRIMITIVE that calls C's `pow()`. Registers both primitives in wrenInitializeCore. Includes new test files `test/core/number/log.wren` and `test/core/number/pow.wren` covering basic cases and edge values (negative input for log, zero exponent for pow). Also adds Sven Bergström to AUTHORS.
2017-01-20 15:20:55 +00:00
..
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-03-14 19:45:56 +00:00
2017-01-13 05:32:50 +00:00
2015-03-14 19:45:56 +00:00
2017-01-13 05:32:50 +00:00
2017-01-13 06:17:33 +00:00
2015-03-14 19:45:56 +00:00
2017-01-13 05:32:50 +00:00
2015-03-14 19:45:56 +00:00
2017-01-13 05:32:50 +00:00
2015-03-14 19:45:56 +00:00
2017-01-13 05:32:50 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2016-10-09 08:18:27 +00:00
2015-03-14 19:45:56 +00:00
2015-03-14 19:45:56 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-03-14 19:45:56 +00:00
2015-03-14 19:45:56 +00:00
2015-09-15 14:46:09 +00:00
2015-03-14 19:45:56 +00:00
2015-03-14 19:45:56 +00:00
2015-07-09 15:06:33 +00:00
2015-09-30 15:41:43 +00:00
2015-09-30 15:41:43 +00:00
2015-09-15 14:46:09 +00:00
2016-08-28 00:25:32 +00:00
2015-03-14 19:45:56 +00:00
2015-03-14 19:45:56 +00:00
2016-10-31 19:52:32 +00:00
2015-03-14 19:45:56 +00:00
2015-09-15 14:46:09 +00:00
2015-03-14 19:45:56 +00:00
2015-09-15 14:46:09 +00:00
2015-03-14 19:45:56 +00:00
2015-09-15 14:46:09 +00:00
2015-09-01 15:16:04 +00:00
2015-09-15 14:46:09 +00:00
2015-03-14 19:45:56 +00:00
2015-09-15 14:46:09 +00:00
2016-10-31 19:52:13 +00:00
2015-09-15 14:46:09 +00:00
2016-10-09 08:18:27 +00:00
2016-08-28 00:25:32 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00
2015-09-15 14:46:09 +00:00