Commit Graph
2 Commits
Author SHA1 Message Date
Johann Muszynski a53a86f469 docs: document Num.highest, Num.lowest, and Num.epsilon properties in core num module 2016-07-10 20:26:23 +00:00
Johann Muszynski 38b7ad62ad feat: add highest, lowest, and epsilon static properties to Num class using DBL_MAX and DBL_EPSILON
Add three new static primitives to the Num class: `highest` returning `DBL_MAX`, `lowest` returning `-DBL_MAX`, and `epsilon` returning `DBL_EPSILON`. Include `<float.h>` header for the floating-point limit constants. Register the new primitives in `wrenInitializeCore` alongside the existing `pi` static property.
2016-07-06 17:08:00 +00:00