Bob Nystrom
92d72be158
feat: add deg, rad, fraction, sign, truncate primitives to num class
...
Add five new numeric methods to the Wren core library: deg (convert radians to degrees), rad (convert degrees to radians), fraction (extract fractional part), sign (return -1, 0, or 1), and truncate (discard fractional part). Register all new primitives in wrenInitializeCore and include corresponding test files for fraction, sign, and truncate operations.
2015-03-07 06:43:02 +00:00
..
2015-02-27 07:08:36 +00:00
2014-01-05 20:27:12 +00:00
2015-02-27 07:08:36 +00:00
2015-02-27 16:08:27 +00:00
2015-02-27 16:08:27 +00:00
2015-01-04 21:00:53 +00:00
2014-04-04 14:51:18 +00:00
2014-04-09 14:48:35 +00:00
2015-02-27 16:08:27 +00:00
2015-02-27 07:08:36 +00:00
2015-02-27 07:08:36 +00:00
2015-02-27 16:08:27 +00:00
2014-04-19 18:41:21 +00:00
2014-04-09 00:54:37 +00:00
2015-02-27 16:08:27 +00:00
2015-01-12 05:47:29 +00:00
2015-01-18 18:20:13 +00:00
2015-02-27 07:08:36 +00:00
2015-02-28 20:45:39 +00:00
2014-01-21 02:12:55 +00:00
2015-02-27 16:08:27 +00:00
2015-02-27 07:08:36 +00:00
2015-02-17 15:32:33 +00:00
2014-04-04 14:51:18 +00:00
2015-02-27 07:08:36 +00:00
2015-01-16 05:50:01 +00:00
2015-03-05 10:27:56 +00:00
2015-01-16 05:50:01 +00:00
2015-02-27 16:08:27 +00:00
2015-02-27 07:08:36 +00:00
2015-03-06 15:01:02 +00:00
2014-04-09 00:54:37 +00:00
2015-01-04 19:09:33 +00:00
2015-02-27 07:08:36 +00:00
2015-02-27 16:08:27 +00:00
2015-02-27 07:08:36 +00:00
2015-02-27 07:08:36 +00:00
2015-02-27 07:08:36 +00:00
2015-02-27 07:08:36 +00:00
2015-02-25 15:00:53 +00:00
2014-01-05 20:27:12 +00:00
2015-01-04 21:00:53 +00:00
2015-01-12 03:58:30 +00:00
2014-01-05 20:27:12 +00:00
2015-01-18 18:20:13 +00:00
2015-01-03 18:02:45 +00:00
2014-01-05 20:27:12 +00:00
2015-01-03 14:10:04 +00:00