Commit Graph

20331 Commits

Author SHA1 Message Date
Matthew Flatt
aed0980f1b doc clarifications on numbers 2011-02-01 08:01:17 -07:00
Matthew Flatt
0011b386ba minor man-page corrections
Merge to 5.1
2011-02-01 08:01:17 -07:00
Matthew Flatt
b70e1eca60 fix problem with `raco exe'
Merge to 5.1
2011-02-01 08:01:16 -07:00
Eli Barzilay
60bb91fd30 New Racket version 5.1.0.2. 2011-02-01 03:50:12 -05:00
Matthew Flatt
dfa36afa89 change `floating-point-bytes->real' to always produce a flonum 2011-01-31 19:52:50 -07:00
Matthew Flatt
ff0a591b7b change FFI `_float' to coerce to Racket double-precision flonum 2011-01-31 19:33:07 -07:00
Matthew Flatt
6293933a69 update Racket history for 5.1.0.2 2011-01-31 19:32:50 -07:00
Matthew Flatt
44987d3ce2 update Racket history for v5.1
Merge to 5.1
2011-01-31 19:24:49 -07:00
Matthew Flatt
3ef32d915b make inexacts `eqv?' only when precision is the same
plus some other small fixes
2011-01-31 19:16:33 -07:00
Matthew Flatt
dc49e6a364 fix configure reporting of --disable-float 2011-01-31 19:16:07 -07:00
Matthew Flatt
fad0224259 fix mysterx for single-precision floats 2011-01-31 19:15:31 -07:00
Matthew Flatt
9f7ea2435e bind `double-flonum?' so that it has its own name 2011-01-31 18:14:28 -07:00
Matthew Flatt
1e09a544a6 adjust _float' and _double' FFI types to accept any inexact real
whether single-precision or double-precision
2011-01-31 18:04:05 -07:00
Matthew Flatt
f9bcdc9baf move float config to "mzconfig.h"; enable by default for Windows 2011-01-31 17:51:09 -07:00
Robby Findler
ce4bf97bde monitor the font size preference in order to redo the one-line size computation for the search bar
closes PR 11687
2011-01-31 17:46:31 -06:00
Vincent St-Amour
1b3052748e Add a case-> type-constructor as a synonym for case-lambda. 2011-01-31 16:39:20 -05:00
Vincent St-Amour
d65438c9ea Remove some legacy bindings. 2011-01-31 16:39:19 -05:00
Vincent St-Amour
22391be437 Cleanup of exposed base types. 2011-01-31 16:39:19 -05:00
Vincent St-Amour
0f0a2625c6 Fix typechecking of single flonum literals, now that they are enabled by default. 2011-01-31 16:39:18 -05:00
Vincent St-Amour
f1c6c74284 Small-Float -> Single-Flonum 2011-01-31 16:39:18 -05:00
Vincent St-Amour
4ac36fd59b Added the new single-precision float function to TR. 2011-01-31 16:39:18 -05:00
Vincent St-Amour
e65b206e6e Add functions to convert back and forth between floating-point representations. 2011-01-31 16:39:17 -05:00
Vincent St-Amour
03ec1ec501 Add a single-flonum? predicate to test for single-precision floats. 2011-01-31 16:39:17 -05:00
Vincent St-Amour
ac76d963b0 Enable single-precision floats by default. 2011-01-31 16:39:17 -05:00
Vincent St-Amour
c997ae139b Single-precision floats now print differently from their double-precision
counterparts.
2011-01-31 16:39:16 -05:00
Vincent St-Amour
d220e0a10b Add read syntax for single-precision float specials. 2011-01-31 16:39:16 -05:00
Vincent St-Amour
b26531774b Update base-env-indexing to use the new types. 2011-01-31 16:39:15 -05:00
Vincent St-Amour
46f086282d Bytes are a sequence of the new Byte type. 2011-01-31 16:39:15 -05:00
Vincent St-Amour
5dbc752542 Edit TR's optimizer's docs to reflect that Float-Complex is the only
complex type that can be optimized.
2011-01-31 16:39:15 -05:00
Vincent St-Amour
768bb63361 Fix optimizer to work with new types. 2011-01-31 16:39:14 -05:00
Vincent St-Amour
a0a54b231d Fix TR tests. 2011-01-31 16:39:14 -05:00
Vincent St-Amour
e56663c943 Add a predicate field to base types, which makes checking for
subtyping of value types easier.

However, this means that base types can't be marshaled as before,
since these predicates can't be marshaled. Instead, we now marshal
base types as identifiers that refer to their base type object.
2011-01-31 16:39:13 -05:00
Vincent St-Amour
3e27ed607c Avoid generating large contracts for common numeric types. 2011-01-31 16:39:13 -05:00
Vincent St-Amour
d4c93cc12e TR's numeric tower is now built from unions of non-overlapping base types.
A lot of the work that was done by special-casing number types can now be
done by TR's handling of unions. This makes it easier to add more numeric
types to the tower and should make writing down types for numeric
primitives much less error-prone.

In addition, this commit adds several numeric types that will help get
tighter bounds on integer arithmetic, such as Index types. They will have
to be integrated to the base environment before they can be useful.
2011-01-31 16:39:13 -05:00
Vincent St-Amour
78c4809177 Make bare union constructor smarter. 2011-01-31 16:39:12 -05:00
Vincent St-Amour
4b3e621d0f Documented opt-lambda: and popt-lambda:. 2011-01-31 16:39:12 -05:00
Matthew Flatt
152c636e1c cocoa: fix problem with dispatching key-up events
Closes PR 11635
 Merge to 5.1
2011-01-31 12:40:37 -07:00
Casey Klein
f7fd6ee689 Changes the term generator to produce shorter sequences
It now uses the (local) size bound instead of the (global) attempt count.
2011-01-31 12:36:42 -06:00
Matthew Flatt
dd5f0dfc80 fix `read-language' exn construction in an EOF case
Closes PR 11683
 Merge to 5.1
2011-01-31 06:49:13 -07:00
Robby Findler
3add4bce4d attempt to clarify the overlay/xy and underlay/xy documentation
Merge to 5.1
2011-01-31 06:45:02 -06:00
Robby Findler
fad47541b2 after viewing the mars splash screen, go back to the original splash screen (usually) 2011-01-30 21:50:36 -06:00
Matthew Flatt
bbb12848d1 cocoa: create window to show composition via an input method
Merge to 5.1
2011-01-30 17:33:12 -06:00
Matthew Flatt
e2c43bf3ec avoid `on-size' problems
Merge to 5.1
2011-01-30 17:33:11 -06:00
Eli Barzilay
6b5e09073a Reorganize, improve, and extend lazy tests. 2011-01-30 13:52:04 -05:00
Stephen Chang
08d99f4858 add test for lazy take bug fix -- invariant being incorrectly tested on unforced arg 2011-01-30 12:12:55 -05:00
Stephen Chang
808361b789 fix lazy take bug -- invariant being tested on unforced argument 2011-01-30 12:10:57 -05:00
Matthew Flatt
bc5ab1e031 fix problems with `read-language' error reporting 2011-01-30 07:47:46 -06:00
Eli Barzilay
c945f5d27d New Racket version 5.1.0.1. 2011-01-30 03:50:12 -05:00
Robby Findler
a7fb695c88 fix a docs typo
closes PR 11677
2011-01-29 18:58:21 -06:00
Casey Klein
3250ff846c Adds a Redex version of Jay's continuation mark transformation 2011-01-29 15:26:30 -06:00