Commit Graph

382 Commits

Author SHA1 Message Date
Yukihiro Matsumoto db20b4e063 ignore return value from strtod() 2012-05-17 09:23:18 +09:00
Yukihiro "Matz" Matsumoto d878fb73b2 Merge pull request #150 from pbosetti/math_tests
Changed test target for Math module in order to support fuzzy checking
2012-05-16 16:52:00 -07:00
Yukihiro Matsumoto cbeee91ddb use gperf -L ANSI-C to generate lex.def 2012-05-17 08:39:27 +09:00
Paolo Bosetti 0567ee03a5 Merge branch 'master' into math_tests 2012-05-16 14:37:22 -07:00
Yukihiro Matsumoto 3bbd82c240 remove duplicated rule 2012-05-17 05:59:31 +09:00
Yukihiro "Matz" Matsumoto 4bd140e44a Merge pull request #148 from bovi/master
Add Tests for Math, Integer, Numeric and Array
2012-05-16 13:56:41 -07:00
Paolo Bosetti 576fdcdf6d Added some tests for trig functions in Math module. Also, tests are made against a tolerance on Floats 2012-05-16 12:44:03 -07:00
Daniel Bovensiepen 0cc8dcc0ee Merge remote-tracking branch 'upstream/master' 2012-05-16 11:34:00 -07:00
Daniel Bovensiepen 3bec8b330c Add Tests for Numeric 2012-05-16 11:18:55 -07:00
Daniel Bovensiepen 241d3f7eb3 Add Tests for Integer 2012-05-16 11:18:42 -07:00
Daniel Bovensiepen 5c6f04120a Add Math Test for new implementation 2012-05-16 10:58:00 -07:00
Yukihiro Matsumoto 2541530239 add mrb_define_singleton_method/mrb_define_module_function 2012-05-17 02:44:41 +09:00
Yukihiro Matsumoto b706b4cba4 gmtime_r emulated by gmtime_s should return struct tm*; close #146 2012-05-17 02:39:28 +09:00
Daniel Bovensiepen dacecdb93c Better indention of assert report 2012-05-16 10:18:27 -07:00
Daniel Bovensiepen 582795a3bf Complete all Array ISO Codes 2012-05-16 10:15:30 -07:00
Yukihiro "Matz" Matsumoto 357aac680e Merge pull request #139 from pbosetti/master
Re-added Math functions missing under MSVC, with custom implementations
2012-05-16 08:24:22 -07:00
Yukihiro "Matz" Matsumoto 7b4c28cef8 Merge pull request #142 from monaka/pr-initialize-variables-20110516
Avoid "may be used uninitialized in this function" warning.
2012-05-16 08:23:25 -07:00
Yukihiro "Matz" Matsumoto 9d67c3c408 Merge pull request #140 from monaka/pr-remove-unused-static-functions
Remove unused static functions
2012-05-16 08:21:16 -07:00
Yukihiro "Matz" Matsumoto bc2314e625 Merge pull request #143 from bovi/master
Test Improvement
2012-05-16 08:08:42 -07:00
Daniel Bovensiepen 26c6031a53 Move assert lib for tests one directory up and add it always in the beginning 2012-05-16 16:07:55 +08:00
Daniel Bovensiepen dd6af6d2ec Add newline in the end of test case files so that the concat of all files works in all cases proper 2012-05-16 16:00:05 +08:00
Daniel Bovensiepen b4a80d7485 Add first part of the bootstrap code 2012-05-16 15:50:54 +08:00
Daniel Bovensiepen 254023f1e7 Remove array for now due to the reason that they are lost after exception was raised 2012-05-16 15:49:40 +08:00
Daniel Bovensiepen 769a7e0ed3 handle exceptions in tests and reduce syntax features in assert code 2012-05-16 15:47:22 +08:00
Masaki Muranaka 6250d06b94 Avoid "may be used uninitialized in this function" warning. 2012-05-16 16:28:07 +09:00
Masaki Muranaka 3407376936 Remove unused static functions. 2012-05-16 16:06:12 +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
Paolo Bosetti 4bc4807297 Merge pull request #1 from nkshigeru/mathmsvc
Math MSVC
2012-05-15 23:48:49 -07:00
nkshigeru 36aaaafae4 fix for MSVC
move declaration in the middle
no signbit
2012-05-16 15:14:23 +09:00
Masaki Muranaka c6f0e296bd Remove some redundant function declarations. 2012-05-16 14:31:48 +09:00
Yukihiro "Matz" Matsumoto f202658d80 Merge pull request #137 from mattn/fix_gmtime_r
fix #127 on mingw.
2012-05-15 18:10:53 -07: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
mattn 25d787286b fix #127 on mingw. 2012-05-16 09:32:30 +09:00
Yukihiro Matsumoto 9dafdfcb8c remove unused dependency 2012-05-15 22:18:51 +09:00
Yukihiro Matsumoto a3a9d136aa remove "comparison is always true" warning 2012-05-15 18:59:25 +09:00
Yukihiro Matsumoto bd839684e5 numeric division to return float value 2012-05-15 18:24:58 +09:00
Yukihiro Matsumoto 3b53b3be68 add Numeric#** 2012-05-15 16:40:57 +09:00
Yukihiro Matsumoto 1bc0c12096 Makefile: remove echo action from all target 2012-05-15 16:40:45 +09:00
Yukihiro Matsumoto 5a8496df4a remove non VC math functions; close #135 2012-05-15 15:03:28 +09:00
Yukihiro Matsumoto 201a013bf6 remove old MANDEL code; close #134 2012-05-15 08:01:45 +09:00
Yukihiro Matsumoto a73c78beb8 update Makefile dependency 2012-05-15 03:05:05 +09:00
Yukihiro Matsumoto 1c6621d5f0 OP_STOP to return exception object on error 2012-05-14 23:22:08 +09:00
Yukihiro Matsumoto 8085817cb5 make test restructuring 2012-05-14 23:04:13 +09:00
Yukihiro Matsumoto 0c6ff97b8e Merge branch 'master' of github.com:mruby/mruby 2012-05-14 22:15:55 +09:00