Doug Coleman
|
43d6f1d3e2
|
factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:.
|
2015-07-02 17:28:17 -07:00 |
Doug Coleman
|
59f3b1ea57
|
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.
This reverts commit 7e54cc2824 .
|
2015-07-02 13:47:06 -07:00 |
Doug Coleman
|
7e54cc2824
|
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
|
2015-07-02 11:36:08 -07:00 |
Doug Coleman
|
999aa7c897
|
factor: clean up spaces in -tests files
|
2015-07-02 10:34:01 -07:00 |
Doug Coleman
|
44e8e7b344
|
primitives: Change PRIMITIVE: to check that the word is in that vocabulary and the stack effect is correct.
Use PRIMITIVE: in core/ and basis/
|
2015-06-25 18:02:03 -07:00 |
John Benediktsson
|
ccddbebf94
|
math.parser: slightly faster ((pow)).
|
2015-06-11 20:04:44 -07:00 |
John Benediktsson
|
2c3492a916
|
minor cleanup to some docs.
|
2015-05-13 16:09:14 -07:00 |
John Benediktsson
|
9033a28c09
|
math.parser: simplify store-exponent.
|
2014-11-29 14:31:23 -08:00 |
John Benediktsson
|
38bc43b968
|
math.parser: whoops, this part shouldn't have been committed.
|
2014-11-29 12:54:48 -08:00 |
John Benediktsson
|
cbba812d7e
|
math.parser: remove float>string, speedup format-float.
|
2014-11-29 12:47:57 -08:00 |
Doug Coleman
|
632ee276e1
|
core: Remove trailing whitespace.
|
2014-10-31 01:14:31 -07:00 |
John Benediktsson
|
53a9c43b31
|
math.parser: fix docs for >base and base>.
|
2014-06-07 12:05:52 -07:00 |
John Benediktsson
|
ff72d10fda
|
math.parser: don't use variables in M\ ratio >base.
|
2013-03-28 14:31:55 -07:00 |
John Benediktsson
|
412382abca
|
math.parser: exactly allocate sbuf for fixnums.
|
2013-03-28 11:55:52 -07:00 |
John Benediktsson
|
bf0f6476f5
|
math.parser: do two digits down until 10.
|
2013-03-27 18:01:59 -07:00 |
John Benediktsson
|
b5b0839426
|
math.parser: faster using byte-arrays.
|
2013-03-27 17:54:24 -07:00 |
John Benediktsson
|
b7cb67bf76
|
math.parser: faster number>string.
|
2013-03-27 14:47:46 -07:00 |
Doug Coleman
|
3582a6c624
|
kernel: Add 4dup, 4drop, and 4cleave.
|
2012-10-22 09:47:34 -07:00 |
John Benediktsson
|
d1f3b326e5
|
math: using if-zero in more places.
|
2012-06-18 14:32:39 -07:00 |
John Benediktsson
|
bec49ff840
|
math.parser: simplify error types.
|
2012-06-08 07:32:01 -07:00 |
John Benediktsson
|
437b1f8785
|
math.parser: add some tests for errors.
|
2012-06-06 15:14:52 -07:00 |
John Benediktsson
|
3967b19aa5
|
math.parser: better error messages suggested by @erg.
|
2012-06-06 15:12:33 -07:00 |
John Benediktsson
|
9dbeef4933
|
math.parser: only allow 10 and 16 base for float>base.
|
2012-06-06 14:50:07 -07:00 |
Joe Groff
|
c4bd4dc1cc
|
math.parser: hex> etc. shouldn't take radix prefix
Fixes #453
|
2011-12-16 17:20:05 -08:00 |
Doug Coleman
|
3ba787b277
|
core/basis: trim down using lists
|
2011-11-30 23:15:42 -08:00 |
Joe Groff
|
269fe9ea1a
|
math.integers: test round-to-even-on-tie behavior
|
2011-11-26 16:03:43 -08:00 |
Joe Groff
|
a97a9ede15
|
math.parser: don't accept hex float without expt
Part of #372
|
2011-11-26 15:15:46 -08:00 |
Joe Groff
|
e58afa8ab5
|
oops, radix prefixes shouldn't chain
|
2011-11-24 12:39:52 -08:00 |
Joe Groff
|
fa979425f3
|
math.parser: test harder
|
2011-11-24 12:34:50 -08:00 |
Joe Groff
|
14efcc69ab
|
math.parser: reject "0x" etc. without any digits
|
2011-11-24 12:27:40 -08:00 |
Joe Groff
|
07abeee9d9
|
syntax: remove BIN: HEX: OCT:
|
2011-11-23 20:07:33 -08:00 |
Joe Groff
|
4b6559849f
|
math.parser: oops
|
2011-11-23 19:51:15 -08:00 |
Joe Groff
|
943596575a
|
use radix literals
|
2011-11-23 19:03:40 -08:00 |
Joe Groff
|
e738c7206c
|
math.parser: natively support 0b 0o 0x syntax
Closes #371
|
2011-11-23 18:30:22 -08:00 |
Joe Groff
|
69f35b36aa
|
math.parser: undo some inlining to shrink size
For #318.
|
2011-11-11 15:49:53 -08:00 |
John Benediktsson
|
6f1c44b46d
|
Cleanup some lint warnings.
|
2011-10-15 19:19:44 -07:00 |
John Benediktsson
|
312704ae68
|
math.parser: cleanup uses of 16/8/2 >base/base>.
|
2011-10-14 10:09:12 -07:00 |
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
|
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
|
4cce9259e1
|
math.parser: fix docs -- maximum radix is 16 not 36
|
2010-01-15 08:36:40 +13: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 |
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 |