Commit Graph

3503 Commits

Author SHA1 Message Date
Yuichi Nishiwaki 2607ec15c3 Merge pull request #328 from dcurrie/negative-zero
Fix roundtrip -0.0
2016-01-25 04:49:49 +09:00
Doug Currie 87ae66d706 Fix roundtrip -0.0 2016-01-23 16:30:40 -05:00
Doug Currie 0f3ef76fcb Fix cond to conform to R7RS 'If the selected ⟨clause⟩ contains only the ⟨test⟩ and no ⟨expression⟩s, then the value of the ⟨test⟩ is returned as the result.' 2016-01-23 16:14:11 -05:00
Doug Currie 6881ac6d4d Reduce size of data object by removing unused dict field 2016-01-15 23:44:07 -05:00
Doug Currie 9b7e0cf019 Optimize records to use vector rather than a dict for field storage. 2016-01-15 23:04:51 -05:00
Yuichi Nishiwaki 7019f81aaf Merge pull request #323 from dcurrie/str-to-num-no-err
Fix issue #322 string->number should never signal error
2016-01-13 01:09:23 +09:00
Doug Currie 33667788cb Fix c99 style comment 2016-01-10 15:05:35 -05:00
Doug Currie ad0ef726fc Fix issue #322 string->number should never signal error 2016-01-10 14:56:44 -05:00
Sunrin SHIMURA 6db22b4b8c Merge pull request #321 from dcurrie/fix-dtoa-nan-inf
Fix dtoa for +nan.0 +inf.0 -inf.0
2016-01-11 00:56:53 +09:00
Doug Currie db36d7040f Add a few tests to contrib/10.roundtrip 2016-01-10 10:06:09 -05:00
Doug Currie 30f220316c Fix dtoa for +nan.0 +inf.0 -inf.0 2016-01-09 12:52:38 -05:00
Yuichi Nishiwaki edbd95d1bd fix indent 2016-01-09 23:29:36 +09:00
Yuichi Nishiwaki 9beff702c0 Merge pull request #320 from dcurrie/double-roundtrip
Double roundtrip
2016-01-09 23:27:10 +09:00
Doug Currie fa2b72b020 Use emyg_atod instead of emyg_strtod 2016-01-09 00:15:49 -05:00
Doug Currie 5116220d62 Fix more c99isms 2016-01-08 23:51:51 -05:00
Doug Currie 3f7c5034d7 Fix some c99isms 2016-01-08 23:47:16 -05:00
Doug Currie 5fd8f8287f Plug in emyg_dtoa and emyg_atod for round trip double conversion 2016-01-08 23:34:51 -05:00
Doug Currie bfe1db8d16 Add benz compile time hooks PIC_DOUBLE_TO_CSTRING and PIC_CSTRING_TO_DOUBLE 2016-01-08 23:06:14 -05:00
Doug Currie 4ef9394c0b Refactor xvfprintf to prepare for pluggable dtoa 2016-01-08 17:30:21 -05:00
Doug Currie be33d016e9 Refactor read_unsigned to prepare for pluggable atod 2016-01-08 15:55:00 -05:00
Doug Currie 8bcfc139f7 Merge upstream. 2015-12-29 11:26:55 -05:00
Yuichi Nishiwaki 03e1ef1753 Merge branch 'issue-316' 2015-12-30 01:08:39 +09:00
Yuichi Nishiwaki cce4933430 use simplest version of error checking 2015-12-30 01:01:12 +09:00
Doug Currie 9fb7676b37 Convert tabs to spaces in string.c 2015-12-30 00:57:14 +09:00
Doug Currie 51ba443636 Check for valid indices in substring and string-copy. 2015-12-30 00:56:59 +09:00
Yuichi Nishiwaki 4a258f8131 Merge pull request #317 from dcurrie/Makefile-test-issue
Fix Makefile and one test for correct behavior.
2015-12-28 17:16:54 +09:00
Doug Currie 947a4b2e2f Merge branch 'Makefile-test-issue' of https://github.com/dcurrie/picrin 2015-12-28 00:02:12 -05:00
Doug Currie b4661db982 Fix Makefile and one test for correct behavior. 2015-12-27 23:54:56 -05:00
Doug Currie 65429b4f10 Check for valid indices in substring and string-copy. 2015-12-27 23:47:29 -05:00
Sunrin SHIMURA (keen) 7433d157a3 Merge branch 'master' of github.com:picrin-scheme/picrin 2015-12-28 12:03:41 +09:00
Sunrin SHIMURA (keen) efe50f934b add regression test against #312 2015-12-28 12:03:29 +09:00
Sunrin SHIMURA 57c3bffc73 Merge pull request #315 from dcurrie/issue-#312
Fix for equal? bug #312
2015-12-28 11:49:10 +09:00
Doug Currie b585d89056 Fix for equal? bug #312 2015-12-27 21:27:26 -05:00
Yuichi Nishiwaki 75246336e8 Merge pull request #313 from dcurrie/master
Better error reporting for uninitialized global.
2015-12-28 01:09:45 +09:00
Doug Currie 17d731228a Use pic_eq_p to compare pic_values; move reverse lookup out of khash.h 2015-12-27 10:11:47 -05:00
Doug Currie 6e879dbe87 Better error reporting for uninitialized global. 2015-12-26 22:19:05 -05:00
Yuichi Nishiwaki 5e6ffec5aa Merge pull request #311 from picrin-scheme/expressive_read_error
add irritant to read error, fixing #310
2015-10-06 18:01:29 +09:00
Sunrin SHIMURA (keen) df1a7b5fd5 add irritant to read error, fixing #310 2015-10-06 14:04:48 +09:00
Yuichi Nishiwaki fa3488dc8d Merge pull request #309 from ktakashi/master
Allow to pass environment variable for installation
2015-10-04 19:15:43 +09:00
ktakashi 1363fa267b Allow to pass environment variable for installation 2015-10-02 13:54:22 +02:00
Sunrin SHIMURA (keen) 760ac11549 add test against 308 2015-10-02 14:51:05 +09:00
Sunrin SHIMURA (keen) b7b0c00aa0 add a task to test issue 2015-10-02 14:50:43 +09:00
Sunrin SHIMURA (keen) 5691739272 pic_errof requires pic_value 2015-10-02 13:49:32 +09:00
Yuichi Nishiwaki 69d9a212ed Merge branch 'cleanup-pic_get_args' 2015-08-26 22:40:35 +09:00
Yuichi Nishiwaki 333813d0ba unify more cases 2015-08-26 22:37:40 +09:00
Yuichi Nishiwaki 210fecab3f unify 'i' and 'I', and 'f' and 'F' 2015-08-26 22:25:56 +09:00
Yuichi Nishiwaki e841764b68 introduce PTR_CASE macro 2015-08-26 22:21:34 +09:00
Yuichi Nishiwaki ee2a4b92f5 more efficient arguments processing in pic_apply 2015-08-26 21:52:20 +09:00
Yuichi Nishiwaki 417157c5b2 Merge branch 'never-use-size_t' 2015-08-26 19:09:57 +09:00
Yuichi Nishiwaki 6f3083c3ca never use size_t 2015-08-26 19:04:27 +09:00