Matthew Flatt
64f0273829
fix printing problem with flvectors
2012-12-05 05:56:59 -06:00
Matthew Flatt
7a85072cf4
dist-specs and build: include math libs
2012-12-05 05:56:59 -06:00
Robby Findler
6b3b59e4a8
more "this function is useless" notes in old contract functions
2012-12-04 21:07:34 -06:00
Jay McCarthy
40964d766e
Nicer indentation and fixing a typo in db reading
2012-12-04 19:41:00 -07:00
Nadeem Abdul Hamid
c0a412ed0e
fix close parens behavior in interactions and comments
2012-12-04 20:39:10 -06:00
Robby Findler
d30e7c6771
clarify that flat-contract is essentially useless now
2012-12-04 19:58:19 -06:00
Vincent St-Amour
9a5db10124
Fix tests.
2012-12-04 19:29:16 -05:00
Vincent St-Amour
ac58c45477
Disable optimization of mixed-mode arithmetic that may involve exact 0.
...
Exact 0 turns out to also be a corner case for addition.
At this point, mixed-mode optimizations pretty much only apply for mixes
of floats and literal non-zero non-floats.
2012-12-04 19:29:16 -05:00
Vincent St-Amour
45a3b9f48d
Don't warn about exact arithmetic for inexact numbers.
2012-12-04 19:29:16 -05:00
Vincent St-Amour
93939f45d0
Don't optimize mixed-mode arithmetic if it would change results.
2012-12-04 19:29:16 -05:00
Vincent St-Amour
fb73bc8b0e
Fix partial bounds checking elimination.
...
Closes PR13341.
2012-12-04 19:29:16 -05:00
Vincent St-Amour
a84e04e1e4
Use the regular Racket reader, not TR's.
2012-12-04 19:29:16 -05:00
Vincent St-Amour
ca47b1c693
Be less aggressive about fixnum recommendations.
...
Reduces false positives.
2012-12-04 19:29:15 -05:00
Vincent St-Amour
6d231da14f
Typo.
2012-12-04 19:29:15 -05:00
Vincent St-Amour
e4af200c89
Hide OC control panel if an error occurs during expansion.
2012-12-04 19:29:15 -05:00
Vincent St-Amour
d544e9fbe7
Fix source location information for do:' and
let:'.
2012-12-04 19:29:15 -05:00
Danny Yoo
7beb132b66
Removes red-black from syntax-color/private; refactored into PLaneT2 as 'data-red-black' package.
2012-12-04 16:46:31 -07:00
Asumu Takikawa
5802b42f66
Support path/object reasoning for promises
2012-12-04 18:03:11 -05:00
Asumu Takikawa
04e8e33313
Provide a more informative internal error
2012-12-04 16:10:39 -05:00
Asumu Takikawa
3f2d4663a8
Fix call/comp's type
2012-12-04 16:10:39 -05:00
Carl Eastlund
46dc3ef33b
Made Ryan responsible for unstable/cat.
2012-12-04 16:01:04 -05:00
Neil Toronto
055512b4e8
Renamed make-flexp/base' to
make-flexpt'
...
Renamed `dist' struct type to `distribution' ("dist" is too common)
2012-12-03 22:45:31 -07:00
Neil Toronto
6ca52be0ae
Stopped exporting `slice-indexes-array'
2012-12-03 22:45:31 -07:00
Neil Toronto
897ebeae83
Remove now-extraneous use of `flvector->list' in examples
2012-12-03 22:45:31 -07:00
Neil Toronto
d935bc0643
Split "mpfr.rkt" into "gmp.rkt" and "mpfr.rkt"
...
Fixed bigfloat functions that assumed (fixnum? x) means x fits in a _long
(not true on Win64)
Hopefully fixed dangling pointer errors that broke `math/bigfloat' on Win64.
It apparently had no _long/_int mismatches, but GC on Win64 will run between
creating an `_mpz' and using its value after passing it as an output argument
to MPFR functions. That doesn't seem to happen on 64-bit Linux or Mac. No
idea why, but Win64 exposed the problem so... that's good, I guess.
Rewrote `rational->bigfloat' to not use GMP's rationals
More/better bigfloat tests
Added bigfloat stress test w/ weak leak detection
Reenabled custodian shutdown callback that clears MPFR constants, because it
seems to work now
Removed `mpfr-available?' because it would only return non-#f
2012-12-03 22:45:31 -07:00
Matthew Flatt
bd1a63a43a
racket/pretty: fix `print' mode for fxvectors and flvectors
...
Closes PR 13340
2012-12-03 22:44:21 -07:00
Jay McCarthy
ce7b9f7b6f
Deal with bad metadata more gracefully
...
Without this patch, you can't uninstall or do anything if a single
package has broken metadata, because everything crashes.
2012-12-03 22:17:53 -07:00
Jay McCarthy
7235382107
Fixing typos in various places
2012-12-03 22:07:48 -07:00
Vincent St-Amour
ee0a1d4b89
Randomly test the TR optimizer.
...
Compares results of a Racket and a TR sandbox.
2012-12-03 21:54:01 -05:00
Matthew Flatt
cd257fe65b
setup/xref: simplify db interaction
...
Relies on improvements to SQLite retry support.
2012-12-03 18:57:53 -07:00
Matthew Flatt
adee7494b4
fix printing test
...
I missed some test updates with the fxvector/flvector change to
printing.
2012-12-03 18:57:53 -07:00
Vincent St-Amour
9f9092b762
Fix optimization of unary float subtraction.
...
Closes PR13339.
2012-12-03 19:46:29 -05:00
Ryan Culpepper
33f3574f7e
fix lazy-require for local submod module-paths
2012-12-03 19:39:39 -05:00
Ryan Culpepper
3075b4d285
remove implicit quasiquote from lazy-require
2012-12-03 19:28:12 -05:00
Ryan Culpepper
fd7d8a412c
move lazy-require to racket/lazy-require
2012-12-03 19:28:12 -05:00
Ryan Culpepper
9762e3f895
remove unstable/cat (use racket/format instead)
2012-12-03 19:28:05 -05:00
Asumu Takikawa
0252207e38
Support Any wrapping for promises
...
Closes PR 13326
2012-12-03 17:59:55 -05:00
Jay McCarthy
ed00c8d70c
Fixing a typo in the P2 package name docs
2012-12-03 13:13:34 -07:00
Jay McCarthy
6c2fa8ca71
Reindent and fixing typo related to which archive was unpacked during translation
2012-12-03 13:13:33 -07:00
Jay McCarthy
54d7cf1087
Fixing a typo in the P2 P1 compat package creation re: metadata
2012-12-03 13:13:33 -07:00
Danny Yoo
f80134247d
Add content to documentation on '-c' to ward off accidental misuse.
2012-12-03 12:48:50 -07:00
Asumu Takikawa
213ff36554
Fix default prompt tag type
...
Note: this type could be made more precise,
but we need some contract changes for that.
2012-12-03 14:37:18 -05:00
Asumu Takikawa
ffde8ec486
Document the default prompt tag in TR
...
Note: this isn't the ideal location for this in the long
run because it isn't a special form. When we have more
bindings like this, we should move them to a new manual
section.
2012-12-03 14:37:17 -05:00
Asumu Takikawa
55944057b5
Fix blame parties for proxied default prompt tag
2012-12-03 14:37:17 -05:00
Asumu Takikawa
25ed52f9d6
Revert "Ignore contracted proxies from racket
"
...
This reverts commit 702676030b
.
(this should actually be documented)
2012-12-03 14:37:17 -05:00
Matthew Flatt
acd24d68ec
reference: add missing section tags
2012-12-03 12:12:54 -07:00
Eli Barzilay
27e8702ec5
Avoid using `-c' in a script example.
2012-12-03 14:09:16 -05:00
Matthew Flatt
42a0342109
ffi: use newer prim-closure representation for foreign functions
...
Cuts 1/3 of the time off a call for a micro-benchmark, since the
path from JIT-generated code to C code is faster.
2012-12-03 10:42:35 -07:00
Matthew Flatt
9e8477dd45
racket/serialize: serialize fxvectors and flvectors
2012-12-03 10:42:35 -07:00
Matthew Flatt
9cf821b301
disallow #fx()' and
#fl()' notation in `read-syntax' mode
...
Allowing them would require support for immutable fxvectors and
flvectors, interning, and more. Since the motivation for reader
support is to make marshaling and unmarshaling easier, allow
them only in `read' mode. Change printing to make then unquotable.
2012-12-03 10:42:35 -07:00