Matthew Flatt
ef525233a2
references: link "A parameter that..." to the definition of "parameter"
2012-08-22 10:28:56 -06:00
Matthew Flatt
13d7a37eb6
re-align expt' and
flexpt' to match C99 pow() spec
...
Also, improve precision of some complex results to avoid
excessive `+nan.0's.
Closes PR 12935
2012-08-06 13:00:36 -06:00
Eric Dobson
b95dba9f19
Fix documentation on integer-sqrt/remainder. Closes PR 12971
2012-08-06 12:31:07 -04:00
Neil Toronto
25c5e87929
Added docs for pi.f, corrected pi's contract, added examples
2012-06-21 13:53:09 -06:00
Neil Toronto
b7fea6be5a
Fixed contracts on exact-round, etc.
2012-06-06 16:16:52 -06:00
Neil Toronto
e644e6afb1
Documented new additions to racket/math
2012-06-06 11:31:49 -06:00
Matthew Flatt
b5ce4f281d
fix example
...
Closes PR 12723
2012-05-15 20:11:42 -06:00
Robby Findler
f77467311a
specify 'angle's range
2012-03-21 16:59:53 -05:00
David Van Horn
f029117266
Fixes spelling errors in reference.
2012-02-21 14:21:43 -05:00
Matthew Flatt
ee775c3cc3
intern strings, etc. only when making syntax objects, not in `read'
...
Rename `read-intern-literal' to `datum-intern-literal'.
Interning is needed only in `read-syntax' or `datum->syntax' to
set up the invariants that the bytecode compiler needs for cross-module
optimization. When `read'ing numbers from a data file, meanwhile,
interning slows things down a lot and doesn't seem worthwhile.
2011-12-14 16:03:44 -07:00
Matthew Flatt
287d5cedf5
add `pseudo-random-generator-vector?'
...
Also, adjust docs to clarify that `vector->pseudo-random-generator!'
can be used as a more complete seeding function.
2011-12-09 09:12:17 -07:00
Matthew Flatt
657be87c66
generalize gcd' and
lcm' to work on rationals
2011-12-08 09:25:39 -07:00
Matthew Flatt
2b658fb1d4
doc clarification
...
Closes PR 8559
2011-11-27 18:02:26 -07:00
Matthew Flatt
e44bd3f79d
intern literal strings, byte strings, regexps, characters, and numbers
2011-11-22 08:54:37 -07:00
Matthew Flatt
d4f7020cd2
add cross-reference between data and read/print descriptions
...
Closes PR 11096
2011-10-15 07:20:33 -07:00
Matthew Flatt
a0805f9b18
fix docs for `round' et al.
...
They don't return integers for +inf.0, -inf.0, and +nan.0.
2011-09-29 16:54:08 -06:00
Eli Barzilay
ac26fe7554
A ton of @scheme*' ->
@racket*' and related updates.
...
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -04:00
Eli Barzilay
debd1f9f1e
Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
...
(Some other minor things here and there.)
2011-06-20 04:27:14 -04:00
Vincent St-Amour
e9789c6697
Fix the 2-argument case of atan to conform to the documentation and
...
fix the documentation.
2011-03-17 13:10:19 -04:00
Matthew Flatt
0b496d5275
a round of doc corrections from Gwyth
2011-03-10 06:34:33 -06:00
Matthew Flatt
aed0980f1b
doc clarifications on numbers
2011-02-01 08:01:17 -07:00
Matthew Flatt
dfa36afa89
change `floating-point-bytes->real' to always produce a flonum
2011-01-31 19:52:50 -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
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
Matthew Flatt
3bb120545f
fix ~300 typos reported by Vladimir Nesterovich (a.k.a. Gwyth)
...
--- but Gwyth's amazingly helpful review of chapters 1-11
pointed out a few problems that are more difficult to fix
and are still pending
2011-01-04 09:53:31 -07:00
Eli Barzilay
9a485064ed
Clarify comment re `fixnum?' non-use at the syntax level, and add a note
...
to the `fixnum?' documentation.
2010-11-05 01:48:23 -04:00
Matthew Flatt
fe301b1ff4
print-boolean-long-form, #true, #false, read-accept-lang, flonum?
2010-10-08 15:13:04 -06:00
Matthew Flatt
c1aa594657
add fvectors and unsafe-{s,u}16-{ref,set!}
2010-09-24 16:32:07 -06:00
Matthew Flatt
3866c3e450
generalize `flvector-copy' to support start and end indices
2010-09-17 13:35:01 -06:00
Will M. Farr
beb2175456
Added flvector-copy (with tests and docs).
2010-09-17 13:35:01 -06:00
Will M. Farr
3d016150a3
Updates to for/vector, for/flvector forms and documentation.
...
- Now the faster forms take a #:length keyword to designate the length
of the vector to pre-allocate.
- The for/[fl]vector forms take multiple body expressions and set the
vector component to the value of the last one.
- When given a #:length argument, the for/vector and for/flvector
forms check that the iteration is not exceeding the given length,
raising exn:fail if it does.
- Test cases for the multiple body expressions and the exception for
excessive iterations have been added.
- Doc modifications to bring the docs in line with the new forms.
- Doc modifications to note that the #:length versions of the form
*may* all the computation to be performed more efficiently, and
stating that it "is an error" if the given length-expr does not
produce a valid length for a vector that matches the number of
iterations for the loop.
- Note that no test is made for a number of loop iterations that is
smaller than the given vector length. Also, the for*/[fl]vector
forms do not optimize when given a #:length argument. These are
areas for future improvement.
2010-09-09 16:22:53 -04:00
Kevin Tew
bc5d1c2011
Places: added shared-flvector and shared-byte string
2010-08-30 08:50:07 -06:00
Will M. Farr
82096abb1b
Added interation forms for/vector, for*/vector, for/flvector, and for*/flvector and for-clause in-flvector.
2010-08-19 18:45:13 -04:00
Matthew Flatt
439bc0a293
add flreal-part',
flimag-part', `make-flrectangular', and unsafe variants
2010-07-02 16:08:15 -06:00
Matthew Flatt
47c7c1a27b
JIT support for inexact->exact', add
unsafe-fl->fx', etc.
2010-06-28 15:57:49 -06:00
Vincent St-Amour
a6c75db94f
Fixed typos in the numbers reference.
2010-06-25 18:01:41 -04:00
Matthew Flatt
d6d5c914f7
cases when number functions produce 0: clarify docs and fix (atan 0 x)
...
for positive exact x;
also clarify docs on some cases when divide-by-zero exception is raised
2010-06-11 15:04:24 -06:00
Matthew Flatt
0b8a664d78
fix minor doc bugs
2010-05-24 10:03:37 -06:00
Eli Barzilay
28946a0a43
More reformatting
2010-05-21 20:41:35 -04:00
Eli Barzilay
c4f67b3e74
Small typos, some reformatting.
...
Fixes PR10920
2010-05-21 16:30:16 -04:00
Matthew Flatt
737b6fac01
rackety reference; any lingering reference to racket as scheme is a doc bug
2010-04-27 08:20:16 -06:00
Matthew Flatt
b7c184632b
racket/unsafe/ffi -> ffi/unsafe, etc.
2010-04-26 18:05:29 -06:00
Matthew Flatt
7cb13860ee
reference racket conversions and scribble qq repairs
2010-04-23 17:00:53 -06:00
Matthew Flatt
c7e723eef7
somewhat rackety core docs
2010-04-22 15:10:25 -06:00
Noel Welsh
7c55242179
Add the full suite of fl and unsafe-fl operations to Typed Scheme
...
Correct an error in documentation of flmin and flmax -- they were documented as taking a single argument when in fact they take two.
svn: r18604
2010-03-23 12:24:50 +00:00
Matthew Flatt
2caaf05ca6
doc addition and prose tweaks
...
svn: r18376
2010-02-27 03:40:15 +00:00
Robby Findler
ac2c537b8f
clarified bitwise-bit-field and bitwise-bit-set?
...
svn: r18225
2010-02-20 15:20:27 +00:00
Matthew Flatt
eb46f95246
doc corrections
...
svn: r18224
2010-02-20 14:58:10 +00:00