Commit graph

1892 commits

Author SHA1 Message Date
Alex Shinn
ea995c6436 Moving exact-sqrt into the core, with exact-integer-sqrt a variant that simply wraps in values. 2014-01-27 23:24:40 +09:00
Alex Shinn
655ff25827 Adding docs about exceptions from C. 2014-01-27 19:56:38 +09:00
Alex Shinn
b890b2f4a5 Patch from Lorenzo to avoid memory corruption in bignum sqrt. 2014-01-27 08:58:56 +09:00
Alex Shinn
4a4f626956 Adding a note about evaluation order. 2014-01-26 20:33:18 +09:00
Alex Shinn
d1e9162012 Fixing some edge cases in arithmetic-shift. 2014-01-26 11:22:53 +09:00
Alex Shinn
9e5e3fcec3 Using the version of list-copy which supports dotted tails. 2014-01-26 10:03:11 +09:00
Alex Shinn
e0fc986db8 Consolidating common SRFI-1 and R7RS bindings into the core. 2014-01-26 00:06:08 +09:00
Alex Shinn
c17a30942f More bignum division fixes. 2014-01-25 23:52:39 +09:00
Alex Shinn
48fe3c8014 Preserving negative sign in arithmetic-shift. Fixes issue #208. 2014-01-25 21:53:19 +09:00
Alex Shinn
4b805751f6 Renaming the (chibi io) simple version of string-count to string-count-chars. 2014-01-23 21:46:22 +09:00
Alex Shinn
eb58aa9328 Fixing environment frame ordering on import at the expense of double the number of frames. 2014-01-23 21:32:42 +09:00
Alex Shinn
982f39ed97 Removing implicit const cast warnings. 2014-01-21 22:41:25 +09:00
Alex Shinn
9a48e29bdd Fixing bug in new bignum division reported by Lorenzo. 2014-01-21 22:38:27 +09:00
Alex Shinn
7d38ec4786 Shortcut for general quotient/remainder with a denominator of 1. 2014-01-20 22:51:36 +09:00
Alex Shinn
297e8727cb Fixing bug in subtraction of a ratio with a bignum numerator. 2014-01-20 21:57:13 +09:00
Alex Shinn
b8b821e75a Adding a syntax test inserting a top-level identifier also referenced by a macro template. 2014-01-20 21:50:31 +09:00
Alex Shinn
4f8dfe2d3c Installing math libs. 2014-01-20 07:45:30 +09:00
Alex Shinn
f2f29aa8b3 Adding prime utilities library. 2014-01-19 23:13:11 +09:00
Alex Shinn
b7676fbb47 Adding process->sexp utility. 2014-01-19 12:38:10 +09:00
Alex Shinn
4ade4f7d2a Always ensure a trailing .0 when a printed flonum has neither a decimal nor e. 2014-01-19 12:36:59 +09:00
Alex Shinn
ce7d8505f8 Control-C in edit-line should kill the process by default.
Adding a convenience keyword to change this to reset the
current input as done in the repl.
2014-01-14 22:19:33 +09:00
Alex Shinn
f252c1bee1 Adding assoc-get utility. 2014-01-14 22:18:04 +09:00
Alex Shinn
c14d67a6f7 Using begin:/end: to better distinguish app hooks from command names. 2014-01-14 22:14:38 +09:00
Alex Shinn
e22c0a40ba Allowing begin/end hooks for run-application. 2014-01-13 19:36:05 +09:00
Alex Shinn
0d097c8c3a Removing unused env-monad bindings. 2014-01-12 21:42:52 +09:00
Alex Shinn
efac4dde6a Using lowercase digits by default in (show (written ...)). 2014-01-12 19:41:11 +09:00
Alex Shinn
b638b9f1b4 Hygiene change. Removing syntactic closure flattening to
support unhygienic insertion.  Breaks the previous assumption
that syntactic closures were never nested.
2014-01-12 19:29:11 +09:00
Alex Shinn
8e32a64426 Accepting begin in addition to body library decl in analyze-module. 2014-01-12 07:18:44 +09:00
Alex Shinn
c8d2c6ab02 Adding a default mode for create-directory. 2014-01-10 00:56:51 -05:00
Alex Shinn
6f5f0c6627 Adding nested guard test from Per Bothner. 2014-01-09 10:33:08 -05:00
Alex Shinn
8cb80bb7ed Missed a rename in the last patch. 2014-01-08 15:01:27 -05:00
Alex Shinn
ab9b284099 Making define-library hygienic in case you really want to use it outside the meta env. 2014-01-08 14:52:19 -05:00
Alex Shinn
b7852d583e Removing build warning by splitting flags for objects to be used
in shared libraries and for linking flags.
2014-01-05 12:58:36 -05:00
Alex Shinn
9daf954bdc Fixing parameter setting with -Q option. 2014-01-05 12:51:58 -05:00
Alex Shinn
6911adb32b Division by zero test for non-normalized zero bignums in bignum quotient/remainder. 2014-01-05 08:52:50 -05:00
Alex Shinn
f1927e5834 Reusing some values in bignum mul. 2014-01-05 08:00:02 -05:00
Alex Shinn
894d3c5451 Typo in odd? simplification from last patch. 2014-01-05 07:26:03 -05:00
Alex Shinn
d17720018c Simpler odd?. 2014-01-05 07:11:51 -05:00
Alex Shinn
f32daf3b96 Fast-path bignum remainder on fixnum powers of two. 2014-01-05 07:08:40 -05:00
Alex Shinn
2c46b2d8ab Adding Jussi's letrec* example, forwarded by Per Bothner. 2014-01-03 12:29:19 +09:00
Alex Shinn
f692697929 Adding additional R7RS exception tests from Per Bothner. 2014-01-03 12:28:07 +09:00
Alex Shinn
28e63c994a Allowing test pattern (test 'value id) as an exception to the
expect/expr ordering check.
2014-01-03 12:27:03 +09:00
Alex Shinn
53826be6f9 Handling potential memory overflow in random-integer with a bignum bound. 2014-01-01 13:26:43 +09:00
Alex Shinn
e4c70383a7 Faster bignum division. 2013-12-31 09:07:41 +09:00
Alex Shinn
3be2eba464 Pre-release version. 2013-12-30 12:21:22 +09:00
Alex Shinn
75dda8c29f Adding sxml->xml utility. 2013-12-30 10:48:38 +09:00
Alex Shinn
ff15d3b850 Faster remainder on bignums without consing. 2013-12-30 10:48:03 +09:00
Alex Shinn
a13e30ce7d Checking for negative values in make-vector. 2013-12-30 09:42:12 +09:00
Alex Shinn
1021344aef Switching to Karatsuba for bignum multiplication.
Fixing potential memory issue in bignum copying.
2013-12-28 09:21:14 +09:00
Alex Shinn
8fcf0a883c Prefer lowercase for hex digits. 2013-12-27 13:46:50 +09:00