Slava Pestov
|
288090d993
|
math.parser: expose a format-float primitive for use by formatting vocabulary
|
2010-04-13 21:21:28 -07:00 |
Joe Groff
|
18f3df9d4a
|
more help-lint
|
2010-03-09 21:02:43 -08:00 |
Joe Groff
|
85f30987e2
|
spray some polymorphic stack effects on kernel, math, and sequences
|
2010-03-05 00:21:10 -08:00 |
Doug Coleman
|
949f658928
|
Fix a couple of typos in complex number docs
|
2010-02-22 17:39:30 -06:00 |
Philipp Brüschweiler
|
db663548f9
|
math: typo in rem docs
|
2010-02-19 11:23:20 +01:00 |
Slava Pestov
|
1c9a95122a
|
math.integers: remove a -rot usage
|
2010-02-10 15:44:49 +13:00 |
Joe Groff
|
0f651c8506
|
math.parser: support leading + on significand and exponent so string>number can be a proper superset of C strto* functions
|
2010-02-07 14:21:59 -08:00 |
Joe Groff
|
ce1ff01851
|
math.parser: add unit tests to ensure that "1e2" parses as 100.0 in decimal and as integer 1E2 in bases >= 15 (it does now)
|
2010-02-07 13:09:59 -08:00 |
Joe Groff
|
90ea5796f4
|
math.parser: fix digit> bug found by Blei
|
2010-02-07 13:04:20 -08:00 |
Slava Pestov
|
4e766a0a12
|
math.parser: clean up and merge new-math-parser branch
|
2010-02-08 01:39:18 +13:00 |
Slava Pestov
|
afee6ccfcd
|
Merge branch 'new-math-parser' of git://factorcode.org/git/factor into new-math-parser
|
2010-02-07 23:28:18 +13:00 |
Slava Pestov
|
5ed0bc72aa
|
Merge git://github.com/littledan/Factor into littledan
|
2010-01-31 02:54:58 +13:00 |
Slava Pestov
|
e45816cf9b
|
math: docs fix
|
2010-01-30 21:14:41 +13:00 |
Daniel Ehrenberg
|
52f2ac2bb9
|
Tests for propagation additions; making fixnum-bit? inline
|
2010-01-25 20:15:17 -06:00 |
Daniel Ehrenberg
|
d3590ea210
|
Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
basis/compiler/tree/propagation/transforms/transforms.factor
|
2010-01-20 00:15:55 -06:00 |
Daniel Ehrenberg
|
aa1651032d
|
Adding compiler transforms in propagation
|
2010-01-20 00:10:49 -06:00 |
Slava Pestov
|
7f7e1e4e1d
|
Help lint fixes for iota
|
2010-01-15 17:04:14 +13:00 |
Slava Pestov
|
4cce9259e1
|
math.parser: fix docs -- maximum radix is 16 not 36
|
2010-01-15 08:36:40 +13:00 |
Doug Coleman
|
4c71d71907
|
random is generic now -- iota random -> random
|
2010-01-14 12:48:57 -06:00 |
Slava Pestov
|
df4fb4a3ee
|
Removing integers-as-sequences
|
2010-01-15 07:15:33 +13:00 |
Slava Pestov
|
47a5e96547
|
Rework min and max so that behavior with floats and NaNs is consistent between generic arithmetic and open-coded float intrinsics
|
2010-01-13 22:20:16 +13:00 |
Slava Pestov
|
0612bc6177
|
Factor source files should not be executable
|
2009-11-21 17:50:43 -06:00 |
Slava Pestov
|
a46671e3ad
|
math.integers: fix help lint on 32-bit
|
2009-11-06 04:52:52 -06:00 |
Slava Pestov
|
a089163a40
|
math: fix test failures on 32-bit
|
2009-11-06 04:50:41 -06:00 |
Joe Groff
|
61a3e4e814
|
new, faster one-pass number parser
|
2009-11-01 01:59:12 -05:00 |
Joe Groff
|
60aecace7d
|
remove dangling PRIVATE> from math.parser
|
2009-11-01 00:42:25 -05:00 |
Joe Groff
|
d4a207662e
|
might want to accurately divide large negative fixnums too
|
2009-10-31 12:10:29 -05:00 |
Joe Groff
|
a7011fe087
|
use bignum/f to get accurate division of fixnums >= 2^53 on 64-bit platforms
|
2009-10-31 12:06:56 -05:00 |
Joe Groff
|
70ffa003ec
|
eliminate roll/-roll from core
|
2009-10-30 13:36:15 -05:00 |
Doug Coleman
|
1476cdb974
|
reverse-here -> reverse!
|
2009-10-28 14:40:15 -05:00 |
Joe Groff
|
ad18098a4f
|
add some math.parser hints that slightly improve number parsing performance
|
2009-10-26 17:48:05 -05:00 |
Joe Groff
|
28f5347e71
|
tighten some screws in math.parser
|
2009-10-22 20:48:46 -05:00 |
Joe Groff
|
943bde59f9
|
speed up dec>float a little
|
2009-10-22 18:55:32 -05:00 |
Joe Groff
|
1a7b4d7c63
|
inline the trivial words in math.parser
|
2009-10-22 17:26:22 -05:00 |
Keith Lazuka
|
405e5d015b
|
docs: change $subsection to $subsections
|
2009-10-02 12:15:48 -04:00 |
Slava Pestov
|
0836e79e66
|
Fix conflict
|
2009-09-23 20:52:04 -05:00 |
Slava Pestov
|
e1efb189a4
|
math and math.vectors: improved documentation
|
2009-09-23 03:08:45 -05:00 |
Keith Lazuka
|
bea4aa7662
|
docs: updated some docs to use new markup
|
2009-09-22 15:22:34 -04:00 |
Joe Groff
|
f459c24e45
|
oops, float>hex didn't preserve leading zeroes in mantissa
|
2009-09-20 16:48:42 -05:00 |
Joe Groff
|
238f600da2
|
document number-base prettyprinter variable. add more docs about hex float syntax
|
2009-09-18 15:11:01 -05:00 |
Joe Groff
|
8c14af3f6c
|
add a number-base configuration variable to prettyprint.config. set to 2 to print BIN:, 8 to print OCT:, 10 to print decimal, 16 to print HEX:
|
2009-09-14 15:03:05 -05:00 |
Slava Pestov
|
32b95c2cdf
|
math: add unordered comparison operators u< u<= u> u>= which behave exactly like < <= > >= except no floating point exceptions are set if one or both inputs are NaNs; also add efficient intrinsic for unordered? predicate, and fix propagation type functions for abs, absq, and bitnot
|
2009-09-12 22:20:13 -05:00 |
Slava Pestov
|
f890f39d7c
|
math.parser: fix example
|
2009-09-12 21:45:57 -05:00 |
Slava Pestov
|
aad68418d2
|
math, syntax: document hexadecimal float literal syntax
|
2009-09-12 21:18:17 -05:00 |
Slava Pestov
|
018677319c
|
math, syntax: fix help lint
|
2009-09-12 21:07:31 -04:00 |
Slava Pestov
|
1337f82ce6
|
math.order: better docs
|
2009-09-12 16:33:42 -05:00 |
Slava Pestov
|
11f984e734
|
math.floats: fix abs on floats; -0.0 abs should be 0.0 not -0.0
|
2009-09-12 16:24:07 -05:00 |
Slava Pestov
|
3c55e7fe0c
|
Add NAN: literal syntax for NANs with a payload
|
2009-09-12 15:06:15 -05:00 |
Joe Groff
|
0ed5822ed9
|
HEX: X.XXXpEEE hexadecimal float literal syntax
|
2009-09-11 20:11:29 -05:00 |
Joe Groff
|
14f412b404
|
add an "unordered?" predicate to math, with a dumb implementation for now
|
2009-09-10 23:45:18 -04:00 |