Commit graph

308 commits

Author SHA1 Message Date
Alex Shinn
521e23e3c7 Reduce error in sexp_read_float_tail (from Taylor R Campbell)
scale*10 is computed exactly until scale exceeds 2^54/10; in
contrast, scale*0.1 may not be computed exactly, and fl(0.1) is not
even 0.1.

WARNING: This change is not complete -- it does nothing to prevent
overflow with very long strings of digits after the decimal point.
2018-12-02 12:22:14 +08:00
Marc Nieper-Wisskirchen
152b20f244 Implement syntax-case 2018-12-01 13:48:25 +01:00
Alex Shinn
5bbef040c5 BSD portability fixes from Taylor Campbell 2018-11-27 23:01:23 +08:00
Alex Shinn
5f428d1299 limit waiting in thread scheduler to 10ms 2018-06-13 22:33:39 +08:00
Alex Shinn
e4cc2dd33c default comparator compares numbers with = (issue #459) 2018-03-10 11:11:59 +09:00
Alex Shinn
7ae96fdba5 typo in vector-select! 2018-02-01 15:43:46 +09:00
Alex Shinn
5023e88897 don't include-shared hash multiple times 2018-01-24 23:58:30 +09:00
Alex Shinn
ab88f53e48 adding srfi 113 2018-01-24 23:47:28 +09:00
Alex Shinn
03544833dc rename (chibi show) update! to with! as in srfi 159 2018-01-16 21:15:54 +09:00
Alex Shinn
73734c7010 adding (srfi 159) wrapper around (chibi show) 2018-01-16 19:54:59 +09:00
Alex Shinn
f6f470c3e5 adding (srfi 135) 2018-01-16 01:14:40 +09:00
Alex Shinn
bd9ea1d3ac adding (srfi 134) 2018-01-16 00:00:48 +09:00
Alex Shinn
0c27921f51 adding (srfi 101) 2018-01-15 23:51:16 +09:00
Alex Shinn
b91022afea adding (srfi 127) 2018-01-15 23:15:14 +09:00
Alex Shinn
f8cc1402c2 adding (srfi 41) 2018-01-14 00:22:14 +09:00
okuoku
1cba43a220 SRFI-151: Fix bit-set? on Win64 which uses long long
Most "1UL" references on bitwise operations should be replaced with
explicit C cast.
2017-12-14 18:03:23 +09:00
okuoku
da7b68f82e SRFI-98: Do not decl. environ as extern on Win32
On Win32, environ definition is included in <stdlib.h>.
2017-12-13 17:30:36 +09:00
okuoku
51f24ed36e Win32: Import Ruby's lgamma_r implementation (Public Domain)
Import Ruby's lgamma_r implementation as MSVCRT missing lgamma_r
implementation. Non Windows platforms should continue to use lgamma_r
implementation which provided with its C runtime library.
2017-12-13 17:20:53 +09:00
okuoku
735719d9d6 Win32: Port/Stub-out libraries
- (scheme time): Win32 stub impl
 - (chibi filesystem): Win32 stubbing
 - (chibi process): ditto
 - (chibi time): ditto
 - SRFI-144: lgamma is not in C99 standard
 - SRFI-27: Win32 INSECURE rand
2017-11-06 04:10:28 +09:00
Alex Shinn
befd7b5eff adding (srfi 154) 2017-10-06 22:54:32 +09:00
Alex Shinn
4a7a809c8d distinguishing lowercase and foldcase (fixes issue #420) 2017-08-27 14:10:05 +09:00
Alex Shinn
1ac4473942 removing tabs 2017-08-26 23:29:02 +09:00
Alex Shinn
0f84fac70d adding (srfi 14) 2017-08-26 20:34:56 +09:00
Alex Shinn
22af18dd18 adding (srfi 116) 2017-08-24 21:29:33 +09:00
Alex Shinn
32bd7fbad6 fixing corner cases in pair-fold, alist-delete and reduce-right 2017-08-24 21:27:08 +09:00
Alex Shinn
1c3f2bd6d5 adding (srfi 145) 2017-08-21 23:16:55 +09:00
Alex Shinn
6d3ae7a28e replacing (srfi 142) with (srfi 151) 2017-08-21 22:32:57 +09:00
Alex Shinn
836ddf6397 adding missing flonum to (srfi 144) (fixes issue #434) 2017-08-09 22:46:46 +09:00
Marc Nieper-Wißkirchen
34701f6df5 Implement SRFI 139 2017-08-01 19:22:12 +02:00
Marc Nieper-Wißkirchen
0078ae2e83 Repair emscripten build 2017-07-25 16:06:59 +02:00
Alex Shinn
d93f7265e2 fixing test after jn/yn signature change 2017-07-20 22:18:05 +09:00
Alex Shinn
071aa725fd updating (srfi 144) with final changes (issue #426) 2017-07-20 22:12:01 +09:00
Alex Shinn
3197969d3e adding missing export regexp-match->list (issue #419) 2017-06-26 10:36:38 +09:00
Alex Shinn
b52711cac8 adding (srfi 144) 2017-06-03 16:49:09 +09:00
Alex Shinn
79a5952ee1 adding (srfi 143) 2017-05-27 22:50:35 +09:00
Alex Shinn
9a21154041 fixing bit-field-rotate/reverse 2017-05-27 22:49:14 +09:00
Alex Shinn
e0fe160f46 fixing off-by-one error in first-set-bit 2017-05-19 23:04:06 +09:00
Alex Shinn
5fb3217ada updating more bitwise corner cases (issue #408) 2017-05-15 23:45:06 +09:00
Alex Shinn
383c6cba62 fixing off-by-one error in arithmetic-shift 2017-05-08 23:49:55 +09:00
Alex Shinn
779c60ac35 add check for empty second list in list= (fixes issue #407) 2017-05-08 12:04:13 +09:00
Alex Shinn
5e4fa52185 bug in string-titlecase, string-cursor>=? doesn't take a string arg 2017-05-07 17:20:09 +09:00
Alex Shinn
9cf8a3ddf3 catching more bitwise-xor cases 2017-05-07 16:45:18 +09:00
Alex Shinn
cb7eaa7fe6 fixing bitwise-xor for negative bignum cases 2017-05-07 16:36:12 +09:00
Alex Shinn
bddb28ace7 fixing bitwise-ior for the bignum|negative-fixnum case 2017-05-07 16:17:06 +09:00
Alex Shinn
37178eacd5 adding (srfi 125) 2017-04-18 23:24:56 +09:00
Alex Shinn
f37429d510 adding new srfi tests to lib-tests 2017-04-16 22:15:58 +09:00
Alex Shinn
dc3283a13b adding (srfi 121) 2017-04-16 22:07:51 +09:00
Alex Shinn
eb79e98d20 adding (srfi 142), using that in place of (srfi 33) 2017-04-16 22:06:56 +09:00
Alex Shinn
014aa253d1 adding new srfis to lib tests 2017-04-01 22:20:21 +09:00
Alex Shinn
ae1704883c adding (srfi 117) 2017-04-01 22:15:08 +09:00