Commit Graph

887 Commits

Author SHA1 Message Date
Abdulaziz Ghuloum 96851f8285 * Fixed a bug that causes (- 0.0) to be 0.0 instead of -0.0. 2007-06-14 20:11:58 +03:00
Abdulaziz Ghuloum b6779a0f87 * Added flonum fasl reader. 2007-06-14 19:48:57 +03:00
Abdulaziz Ghuloum f147e391eb * Added flonum, ratnum, and bignum fasl writers. 2007-06-14 19:38:00 +03:00
Abdulaziz Ghuloum e061dcd504 * Reader for ratnums implemented. 2007-06-14 19:21:26 +03:00
Abdulaziz Ghuloum b2582e731c * Reader for flonums is implemented. 2007-06-14 18:56:47 +03:00
Abdulaziz Ghuloum ec5317bea0 * Added nucleic benchmark. 2007-06-13 18:17:21 +03:00
Abdulaziz Ghuloum af7f6a5b7e * More benchmarks. 2007-06-13 17:49:54 +03:00
Abdulaziz Ghuloum e76047cb47 * Added list-tail. 2007-06-13 17:42:04 +03:00
Abdulaziz Ghuloum 0c62d5bee8 * Added abs. 2007-06-13 16:48:05 +03:00
Abdulaziz Ghuloum 973595a93f * exported call-with-output-file. 2007-06-13 16:22:11 +03:00
Abdulaziz Ghuloum b00de8325b Added many benchmarks.
added:
  benchmarks/new/r6rs-benchmarks/BUGS
  benchmarks/new/r6rs-benchmarks/array1.ss
  benchmarks/new/r6rs-benchmarks/bib
  benchmarks/new/r6rs-benchmarks/boyer.ss
  benchmarks/new/r6rs-benchmarks/browse.ss
  benchmarks/new/r6rs-benchmarks/cat.ss
  benchmarks/new/r6rs-benchmarks/conform.ss
  benchmarks/new/r6rs-benchmarks/cpstak.ss
  benchmarks/new/r6rs-benchmarks/ctak.ss
  benchmarks/new/r6rs-benchmarks/dderiv.ss
  benchmarks/new/r6rs-benchmarks/deriv.ss
  benchmarks/new/r6rs-benchmarks/destruc.ss
  benchmarks/new/r6rs-benchmarks/diviter.ss
  benchmarks/new/r6rs-benchmarks/divrec.ss
  benchmarks/new/r6rs-benchmarks/dynamic.src.ss
  benchmarks/new/r6rs-benchmarks/dynamic.ss
  benchmarks/new/r6rs-benchmarks/earley.ss
  benchmarks/new/r6rs-benchmarks/fibc.ss
  benchmarks/new/r6rs-benchmarks/fibfp.ss
  benchmarks/new/r6rs-benchmarks/gcbench.ss
  benchmarks/new/r6rs-benchmarks/gcold.ss
  benchmarks/new/r6rs-benchmarks/graphs.ss
  benchmarks/new/r6rs-benchmarks/lattice.ss
  benchmarks/new/r6rs-benchmarks/matrix.ss
  benchmarks/new/r6rs-benchmarks/maze.ss
  benchmarks/new/r6rs-benchmarks/mazefun.ss
  benchmarks/new/r6rs-benchmarks/mbrot.ss
  benchmarks/new/r6rs-benchmarks/nboyer.ss
  benchmarks/new/r6rs-benchmarks/nqueens.ss
  benchmarks/new/r6rs-benchmarks/ntakl.ss
  benchmarks/new/r6rs-benchmarks/paraffins.ss
  benchmarks/new/r6rs-benchmarks/parsing-test.sch
  benchmarks/new/r6rs-benchmarks/parsing.ss
  benchmarks/new/r6rs-benchmarks/perm9.ss
  benchmarks/new/r6rs-benchmarks/peval.ss
  benchmarks/new/r6rs-benchmarks/pi.ss
  benchmarks/new/r6rs-benchmarks/pnpoly.ss
  benchmarks/new/r6rs-benchmarks/ray.ss
  benchmarks/new/r6rs-benchmarks/todo-src/
  benchmarks/new/r6rs-benchmarks/todo-src/README.flonum-benchmarks
  benchmarks/new/r6rs-benchmarks/todo-src/compiler.scm
  benchmarks/new/r6rs-benchmarks/todo-src/fft.scm
  benchmarks/new/r6rs-benchmarks/todo-src/fpsum.scm
  benchmarks/new/r6rs-benchmarks/todo-src/nbody.scm
  benchmarks/new/r6rs-benchmarks/todo-src/nucleic.scm
  benchmarks/new/r6rs-benchmarks/todo-src/primes.scm
  benchmarks/new/r6rs-benchmarks/todo-src/puzzle.scm
  benchmarks/new/r6rs-benchmarks/todo-src/quicksort.scm
  benchmarks/new/r6rs-benchmarks/todo-src/rn100
  benchmarks/new/r6rs-benchmarks/todo-src/sboyer.scm
  benchmarks/new/r6rs-benchmarks/todo-src/scheme.scm
  benchmarks/new/r6rs-benchmarks/todo-src/simplex.scm
  benchmarks/new/r6rs-benchmarks/todo-src/slatex.scm
  benchmarks/new/r6rs-benchmarks/todo-src/slatex.sty
  benchmarks/new/r6rs-benchmarks/todo-src/smlboyer.scm
  benchmarks/new/r6rs-benchmarks/todo-src/string.scm
  benchmarks/new/r6rs-benchmarks/todo-src/succeed.scm
  benchmarks/new/r6rs-benchmarks/todo-src/sum.scm
  benchmarks/new/r6rs-benchmarks/todo-src/sum1.scm
  benchmarks/new/r6rs-benchmarks/todo-src/sumfp.scm
  benchmarks/new/r6rs-benchmarks/todo-src/sumloop.scm
  benchmarks/new/r6rs-benchmarks/todo-src/tail.scm
  benchmarks/new/r6rs-benchmarks/todo-src/tak.scm
  benchmarks/new/r6rs-benchmarks/todo-src/takl.scm
  benchmarks/new/r6rs-benchmarks/todo-src/temp.scm
  benchmarks/new/r6rs-benchmarks/todo-src/temp2.scm
  benchmarks/new/r6rs-benchmarks/todo-src/test.scm
  benchmarks/new/r6rs-benchmarks/todo-src/test.tex
  benchmarks/new/r6rs-benchmarks/todo-src/tfib.scm
  benchmarks/new/r6rs-benchmarks/todo-src/trav1.scm
  benchmarks/new/r6rs-benchmarks/todo-src/trav2.scm
  benchmarks/new/r6rs-benchmarks/todo-src/triangl.scm
  benchmarks/new/r6rs-benchmarks/todo-src/wc.scm
modified:
  benchmarks/new/r6rs-benchmarks.ss
  benchmarks/results.Larceny-r6rs
  benchmarks/src/ntakl.scm
2007-06-13 14:17:57 +03:00
Abdulaziz Ghuloum 48c80cbd9c * Added flmin. 2007-06-13 14:16:03 +03:00
Abdulaziz Ghuloum 009d0b2fac * Added flnegative? 2007-06-13 14:11:39 +03:00
Abdulaziz Ghuloum 0f910c431f * Added flzero? 2007-06-13 14:08:12 +03:00
Abdulaziz Ghuloum 89fd9d0a23 * Added flsqrt. 2007-06-13 14:00:29 +03:00
Abdulaziz Ghuloum ded64db389 * Added fl/. 2007-06-13 13:50:19 +03:00
Abdulaziz Ghuloum dc046a3092 * exported call-with-input-file. 2007-06-13 13:36:43 +03:00
Abdulaziz Ghuloum 817851f3d2 * defined fl*.
* fixed a bug in the identitity of fl+.
2007-06-13 13:15:52 +03:00
Abdulaziz Ghuloum 2dad5b473e * exported odd? 2007-06-13 13:10:54 +03:00
Abdulaziz Ghuloum 9b0d2143a3 * exported even? 2007-06-13 13:01:21 +03:00
Abdulaziz Ghuloum 6441235594 * exported modulo (incomplete). 2007-06-13 12:58:48 +03:00
Abdulaziz Ghuloum 01f12f135a * Added the round procedure 2007-06-13 12:40:29 +03:00
Abdulaziz Ghuloum 3edcc64121 * Added exact? 2007-06-13 12:05:24 +03:00
Abdulaziz Ghuloum 97dfd0ddcf * Added min. 2007-06-13 11:55:37 +03:00
Abdulaziz Ghuloum 88d8e198fc * Added the rest of fl=? fl<? fl<=? fl>? fl>=? 2007-06-13 11:53:52 +03:00
Abdulaziz Ghuloum adb65c1b84 * Added expt to (r6rs)
* Added fl+ and fl-.
2007-06-13 11:47:30 +03:00
Abdulaziz Ghuloum 3fb701187e * Added (r6rs arithmetic flonums) library containing fl<? only 2007-06-13 11:37:22 +03:00
Abdulaziz Ghuloum 352d0f54dd * Added write-char to (r6rs) library. 2007-06-13 10:36:11 +03:00
Abdulaziz Ghuloum f3166040a0 * Addd (r6rs mutable-pairs) library. 2007-06-13 10:26:51 +03:00
Abdulaziz Ghuloum 8cd99e6a2e * Added ackerman benchmark 2007-06-13 10:19:16 +03:00
Abdulaziz Ghuloum 681ec55067 * Added new r6rs benchmarks folder. 2007-06-13 10:14:14 +03:00
Abdulaziz Ghuloum 9bd65cc447 * Fixed rational? and integer? to handle flonums properly. 2007-06-13 09:03:30 +03:00
Abdulaziz Ghuloum 83c7fe71b8 * Fixed two bugs in the ratnum case of mk< procs. 2007-06-13 06:04:08 +03:00
Abdulaziz Ghuloum 5f1b44106a * removed the 3-arg dispatch in the generic =, <,, <=, >, >= 2007-06-12 17:32:25 +03:00
Abdulaziz Ghuloum f05f8965d6 * string-to-number now understands:
- #e #E #i #I prefixes
  - decimal notation
  - exponents
2007-06-12 03:57:35 +03:00
Abdulaziz Ghuloum e1d0d4aca6 * subtraction (-) now understands ratnums. 2007-06-12 02:49:27 +03:00
Abdulaziz Ghuloum ca257870ce * bignum->flonum now handles large floats properly by converting
them to +inf.0 and -inf.0.
2007-06-12 02:25:13 +03:00
Abdulaziz Ghuloum b01e289798 * Numeric comparison functions =, <, <=, >, >= now understand
ratnums.
2007-06-11 11:59:11 +03:00
Abdulaziz Ghuloum 90feb453f5 * Added tests for bignum->flonum. 2007-06-10 20:32:48 +03:00
Abdulaziz Ghuloum cde508d58c * reimplemented bignum->flonum in Scheme now. ikrt_bignum_to_flonum
is no longer used.
2007-06-10 20:21:41 +03:00
Abdulaziz Ghuloum 9a31a8f0d3 * Added $make-flonum and $flonum-set! prims. 2007-06-10 12:09:01 +03:00
Abdulaziz Ghuloum 7246be795d * removed old flonum->string Scheme code and supporting C code. 2007-06-10 10:35:45 +03:00
Abdulaziz Ghuloum cccdd1122c * Added flonum->string using dybvig's algorithm. 2007-06-10 07:55:49 +03:00
Abdulaziz Ghuloum a596550e97 * Added log. 2007-06-10 07:37:30 +03:00
Abdulaziz Ghuloum d88126aea1 * Added inexact->exact 2007-06-10 07:35:39 +03:00
Abdulaziz Ghuloum 0480517615 * Added floor/ceiling. 2007-06-10 07:32:19 +03:00
Abdulaziz Ghuloum 57f4d16ee2 * Added ikrt_fl_log and ikrt_fx_log to the vm. 2007-06-09 03:08:36 +03:00
Abdulaziz Ghuloum 6712e9490b * Fixed two bugs in $ratnum-n and $ratnum-d 2007-06-08 10:30:25 +03:00
Abdulaziz Ghuloum 3798fd932a * Added ratnum cases to binary*. 2007-06-08 10:18:36 +03:00
Abdulaziz Ghuloum b859c05bd6 * Added (flonum-u8-ref x k) where x is a flonum, k is a fixnum in
between 0 and 7, and returns byte k in the flonum data structure.
  k is a logical index in an IEEE number with the structure:
  [s][11-bit-biased-expo] [52-bit-mantissa==================]
  [  k = 0  ] [  k = 1  ] [k=2] [k=3] [k=4] [k=5] [k=6] [k=7]
2007-06-08 09:15:25 +03:00