Vincent St-Amour
442def0b0f
Fix typechecking of Single-Flonum-Complex literals.
...
Closes PR12840.
2012-06-09 22:00:27 -04:00
Vincent St-Amour
7191ef5c74
Be more conservative about returning Float-Complex and others.
2012-06-09 21:57:01 -04:00
Vincent St-Amour
f3f5abd1f7
Improve handling of NaN in division.
...
Closes PR12838.
2012-06-09 21:32:37 -04:00
Neil Toronto
8f840bd07b
Fixed erroneously imprecise type for +nan.f literal (now Single-Flonum-Nan)
...
Types for nan?, infinite?, pi.f, exact-round, exact-floor, exact-ceiling,
exact-truncate, degrees->radians, radians->degrees
Extended tc-random-testing: generates exact integers and rationals now
Fixed types of sinh, cosh and tanh to account for underflow and NaNs
2012-06-09 17:46:04 -06:00
Neil Toronto
ddeda70b20
Added to HISTORY.txt
...
Added (report-errs) to tests/racket/math.rktl
2012-06-09 17:46:04 -06:00
Vincent St-Amour
a89bd99e2a
Fix printing of single-precision floats.
...
If there's already an exponent separator, replace it with f.
Closes PR12836.
2012-06-09 19:35:37 -04:00
Matthew Flatt
5caa114564
fix `print-syntax-width' for +inf.0
...
Closes PR 12837
2012-06-10 06:58:06 +08:00
Matthias Felleisen
6b2419f100
fixed error messages for create-world
2012-06-09 13:00:09 -04:00
Vincent St-Amour
ede83be3fb
Fix docs for unsafe-flmin and unsafe-flmax.
...
Closes PR12826.
2012-06-09 09:20:55 -04:00
Rodolfo Henrique Carvalho
1b5069f47a
Fix minor typo
2012-06-09 09:20:55 -04:00
Robby Findler
81cbb10213
fix docs for render-term
...
closes PR 12834
2012-06-09 07:12:15 -05:00
Stephen Bloch
c7666c5e4f
In addition to providing "provide", I also provide several of its
...
sub-forms, most usefully "all-defined-out".
2012-06-08 19:44:48 -04:00
Matthew Flatt
815fd1b49c
misc changes to speed up doc search generation
...
Cuts about 30% of the time on my machine.
2012-06-08 16:08:55 +08:00
Matthew Flatt
00e1ed9369
scribble: fix duplicate call to `render-element' callback
...
This change should cut the time to generate the search index
roughly in half.
2012-06-08 16:08:55 +08:00
Matthew Flatt
fbb6a294f3
local-expand' allows a stop list to have only
module*'
...
That is, when the sto plist contains only `module*', core
forms are not implicitly added to the stop list.
2012-06-08 16:08:55 +08:00
Matthew Flatt
941f215aa0
improve cycle-in-loading error message
2012-06-08 16:08:55 +08:00
Jay McCarthy
6db5672ac5
Fixes PR12767
2012-06-07 13:44:08 -06:00
Robby Findler
41a890df03
fix bug in the ->i parser (picked up the wrong identifier; wrote #'id when
...
id wasn't really around anywhere)
closes PR 12829
2012-06-07 10:45:18 -05:00
Vincent St-Amour
0f346601f4
Fix type of n-ary * to handle NaN properly.
2012-06-06 18:26:51 -04:00
Vincent St-Amour
c0b978f71f
Fix handling of NaN in flmin and flmax.
2012-06-06 18:26:51 -04:00
Vincent St-Amour
48f47f3384
Fix flonum and single-flonum operation types.
...
Most issues were found with random testing.
2012-06-06 18:26:51 -04:00
Vincent St-Amour
0b7eaf56ca
Fix generation of random floats in TR random testing.
2012-06-06 18:26:51 -04:00
Vincent St-Amour
3e9b527bd0
Fix comment.
2012-06-06 18:26:51 -04:00
Neil Toronto
b7fea6be5a
Fixed contracts on exact-round, etc.
2012-06-06 16:16:52 -06:00
Asumu Takikawa
f9ec37bbdd
Minor fix in mrlib/hierlist docs
2012-06-06 17:20:15 -04:00
Neil Toronto
e644e6afb1
Documented new additions to racket/math
2012-06-06 11:31:49 -06:00
Neil Toronto
b7ff3eb1fb
Made sinh return zero inputs unchanged (fixes failing test case)
2012-06-06 10:52:29 -06:00
Matthew Flatt
fdb722dcb1
shortcut for numbers in `write', etc.
2012-06-06 15:17:35 +08:00
Matthew Flatt
d80a49f853
turn on DrDr testing for racket/math
2012-06-06 15:16:52 +08:00
Matthew Flatt
4b07fc42f0
racket/future: fix heuristic for creating future-running threads
...
James noticed that the previous implementation was too slow to make
threads.
2012-06-06 13:25:14 +08:00
Matthew Flatt
255e3cbe2e
another *SL error-rewriting fix
...
Arity errors no include supplied arguments, but strip them
away for *SL messages.
2012-06-06 13:25:14 +08:00
Matthew Flatt
269a3392dc
racket/future: fix debug logging for sync vs. block
...
When a "synchronized" operation is handled for a future thread
during a `touch' on the future, then still report the handling
as "synchronized" insteda of "blocked".
2012-06-06 13:25:14 +08:00
Matthew Flatt
7a9c8e5d40
racket/gui win32: fix East Asian font problem
...
When the theme-specified default font has a localized name,
using it as a Pango faily name doesn't work, with the result that
text on controls could be truncated. Get a Pango-friendly
name by converting a LOGFONT to a Pango font description and
getting the name from the font description.
2012-06-06 13:25:14 +08:00
Neil Toronto
a713ca8a8b
Added nan?, infinite?, degrees->radians, radians->degrees, exact-round, exact-floor, exact-ceiling, exact-truncate to racket/math
...
Altered TR's random arithmetic testing to generate single-flonums and very small flonums; fails now because of erroneous types
Fixes to sgn, sinh, cosh, and tanh:
* preserve single-flonum-ness
* correct zero sign (-0.0) for negative return values that are smaller than epsilon
* correct behavior with NaN and infinite inputs
2012-06-05 22:40:44 -06:00
Neil Toronto
c089b2fa50
Use `collection-file-path' to load example image
2012-06-05 11:15:25 -06:00
Matthew Flatt
e44c0809e8
rewrite contract error messages for *SL
...
The rewrite involves parsing contract expressions and constructing
replacement prose.
2012-06-05 17:53:27 +08:00
Matthew Flatt
53f7a77e8f
racket/place: avoid place-termination cycle
2012-06-05 17:53:27 +08:00
Matthew Flatt
3742a9da8f
adjust font-substitution hack for Mac OS X
2012-06-05 17:53:26 +08:00
Matthew Flatt
42db3a7516
raco setup: print "nothing to do" to stdout instead of sdterr
...
Printing to stderr shows through in various ways, such as
when installing a Planet package (where stdout is redirected
and stderr isn't).
2012-06-05 17:53:26 +08:00
Neil Toronto
18fa552723
Finalized and documented flomap transforms and effects
2012-06-04 15:32:17 -06:00
Sam Tobin-Hochstadt
2b9912ea9f
Repair failing test case (wrong expected value).
2012-06-04 17:02:19 -04:00
Sam Tobin-Hochstadt
42a2ac6026
Document new TR aliased definitions.
2012-06-04 17:02:18 -04:00
Robby Findler
b5258e0e2b
In the multi-file search window, only re-load the file
...
in the bottom window when it really is a different file
(ie, using a same-file predicate that involves opening
the files and comparing the ports)
closes PR 12635 (hopefully -- if not, then we can reopen)
2012-06-03 17:07:12 -05:00
Sam Tobin-Hochstadt
1801efe66a
Whitespace fixes.
2012-06-03 10:50:18 -04:00
Sam Tobin-Hochstadt
cbbd889621
=
can equate values with different types.
...
Closes PR 12804.
2012-06-03 10:50:18 -04:00
Matthew Flatt
cc0b887106
adjust *SL error-message rewriting
2012-06-03 11:09:32 +08:00
Matthew Flatt
d1c2430bf1
remove extra space in some error messages
2012-06-03 11:09:32 +08:00
Sam Tobin-Hochstadt
8459c22c01
Improve type of identity
.
...
Closes PR 12813.
2012-06-02 18:52:18 -04:00
Sam Tobin-Hochstadt
865a2cdcbd
Support definitions of keyword functions in Typed Racket.
...
Caveats:
- keyword function definitions do not define static
bindings, thus limiting optimization opportunities
- can't use `define:`, `lambda:`, etc with keywords
- error messages sometimes expose the implementation
- the optimizer skips most of the generated code for
keyword functions definitions (user-level code is
optimized)
2012-06-02 18:22:07 -04:00
Jon Rafkind
244f1cccb7
[honu] fix the pattern form and use quote-syntax to prevent syntaxes from being interpolated too early
2012-06-02 15:33:55 -06:00