Commit Graph
5 Commits
Author SHA1 Message Date
Johann Muszynski 6ddc5c49f0 feat: add Visual Studio 2017 solution and project files for Windows builds
Add wren.sln, wren.vcxproj, and wren_lib.vcxproj with Debug/Release and Win32/x64 configurations targeting v141 toolset, along with .vcxproj.filters for source organization. Update .gitignore to exclude .vs/ and obj/ directories. Modify build_libuv_windows in util/libuv.py to accept an arch parameter and pass x86/x64 to vcbuild.bat.
2017-03-28 18:45:29 +00:00
Johann Muszynski 4050e7128b docs: rename Num.highest to Num.largest and Num.lowest to Num.smallest in core module docs 2016-08-04 18:17:45 +00:00
Johann Muszynski f2077844b3 feat: rename Num highest/lowest/epsilon to largest/smallest and update primitives
Rename the static Num class properties from `highest`/`lowest`/`epsilon` to `largest`/`smallest` in wren_core.c, replacing the DBL_MAX/-DBL_MAX/DBL_EPSILON return values with updated DEF_PRIMITIVE implementations and corresponding PRIMITIVE registrations in wrenInitializeCore.
2016-08-04 18:15:55 +00:00
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