Commit Graph

27 Commits

Author SHA1 Message Date
Xuejie Xiao f7dd27a928 Fix provided implementation of erf and erfc functions. 2012-11-19 15:13:18 -05:00
Yukihiro Matsumoto 883b97ab05 some test requires double precision 2012-08-01 01:23:34 +09:00
Yukihiro Matsumoto 34cf05679c add Math::TOLERANCE 2012-08-01 01:12:09 +09:00
Max Anselm dacae7fda9 Remove unnecessary mrb_assoc_new prototype
Include array.h instead.
2012-07-29 19:51:14 -04:00
Max Anselm 5a4beeed2d Make all(?) void casts explicit for C++ 2012-07-29 19:48:48 -04:00
Yukihiro Matsumoto 76f7aecff3 use ENABLE/DISABLE instead of INCLUDE for configuration macro names 2012-06-15 15:34:49 +09:00
Yukihiro Matsumoto b4be82ccc1 variable name typo fixed 2012-06-14 00:59:58 +09:00
Yukihiro Matsumoto 764a791f43 make Math module optional 2012-06-14 00:59:35 +09:00
Yukihiro Matsumoto 91a665905a Math.log to take optinal second argument 2012-06-14 00:41:33 +09:00
Yukihiro Matsumoto e2447d3530 add aspec for math.c methods 2012-06-14 00:41:14 +09:00
Yukihiro Matsumoto 501f7f6027 stop introducing Math::TORELANCE 2012-06-05 09:09:50 +09:00
Paolo Bosetti 2c7cee8a1a Added Math.sqrt() that was missing in math.c, and added relevant test case 2012-06-04 15:57:05 -07:00
Paolo Bosetti 5760ad7d59 Minor edits in tests for Math module 2012-05-17 17:40:21 -07:00
Yukihiro Matsumoto 2541530239 add mrb_define_singleton_method/mrb_define_module_function 2012-05-17 02:44:41 +09:00
Paolo Bosetti 7bcfb67f3d Merged MSVC branch 2012-05-16 00:00:42 -07:00
Paolo Bosetti aee20de26b Code formatting; Added credits for erf/erfc implementation 2012-05-15 23:57:38 -07:00
Paolo Bosetti 2948a96c3b Added also support for erfc under MSVC 2012-05-15 23:57:38 -07:00
Paolo Bosetti 7da51a9d49 Re-added Math finctions not supported under MSVC, and added preprocessor directives to support these functions under MSVC too 2012-05-15 23:57:38 -07:00
Paolo Bosetti b9b20c8be8 Tested under MSVC by nkshigeru. Minor code formatting 2012-05-15 23:55:44 -07:00
nkshigeru 36aaaafae4 fix for MSVC
move declaration in the middle
no signbit
2012-05-16 15:14:23 +09:00
Paolo Bosetti 6971b0e9ab Code formatting; Added credits for erf/erfc implementation 2012-05-15 18:04:40 -07:00
Paolo Bosetti 8d0738e7b4 Added also support for erfc under MSVC 2012-05-15 17:58:40 -07:00
Paolo Bosetti 04815be9cd Re-added Math finctions not supported under MSVC, and added preprocessor directives to support these functions under MSVC too 2012-05-15 17:41:07 -07:00
Yukihiro Matsumoto 5a8496df4a remove non VC math functions; close #135 2012-05-15 15:03:28 +09:00
Yukihiro Matsumoto 628e60d6f3 removed lines the seem not to conform C99 2012-05-14 11:36:42 +09:00
Paolo Bosetti e274382aca Replaced C++ style comments 2012-05-12 12:36:19 -07:00
Paolo Bosetti 7cdf0ca1c1 Added src/math.c. Also, edited src/init.c in order to load the Math module. 2012-05-12 12:04:58 -07:00