Doug Coleman
144da45241
math.vectors.simd: fix functor.
2018-01-27 12:01:51 -06:00
Doug Coleman
5ef60f2f21
math.vectors.simd: better implementation.
2018-01-27 12:01:51 -06:00
Doug Coleman
5d8b912216
Merge remote-tracking branch 'origin/master' into modern-harvey2
2018-01-27 09:43:21 -06:00
John Benediktsson
ed92cb066b
math.bitwise: add >signed to docs next to >even, >odd.
2018-01-23 15:37:21 -08:00
John Benediktsson
b40ba26bac
basis/extra: removing '[ @ ] in favor of _ for fried quotations.
2018-01-19 23:40:23 -08:00
Doug Coleman
f5853bda82
Merge remote-tracking branch 'origin/master' into modern-harvey2
2018-01-17 17:38:39 -06:00
John Benediktsson
3147593b2c
math.combinatorics: make selections use change-nth-unsafe again.
2018-01-17 14:17:44 -08:00
John Benediktsson
1beaa8f494
math.combinatorics: fix selections bug, geez.
2018-01-17 13:59:22 -08:00
John Benediktsson
9d35cd9048
math.combinatorics: fix selections bug that went missing before previous commit.
2018-01-17 13:55:05 -08:00
John Benediktsson
3bf23d242d
math.combinatorics: speed up selections word.
2018-01-17 10:36:12 -08:00
John Benediktsson
9a4441a80e
math.combinatorics: remove memoize of factorial.
...
If lots of large factorials are computed could use too much memory.
2018-01-16 14:57:17 -08:00
Doug Coleman
354f1cbd34
factor: vocab:word -> vocab::word
2017-12-29 00:43:25 -08:00
Doug Coleman
ef0fe3f61a
math.vectors.simd.cords: fix whitespace
2017-12-28 19:30:13 -08:00
Doug Coleman
efa9b2d01d
functors2: rename SAME-FUNCTOR: to INLINE-FUNCTOR:
2017-12-28 17:28:58 -08:00
Doug Coleman
887184e0e5
math.factors.simd: fix repr
2017-12-28 17:16:12 -08:00
Doug Coleman
233c3dcebd
cords: updated functors syntax. ugly.
2017-12-28 16:52:05 -08:00
Doug Coleman
7ccaf78071
removed: redadd these.
2017-12-28 16:03:25 -08:00
Doug Coleman
032e819f3c
simd: Port to new functors. kind of ugly.
2017-12-28 16:03:14 -08:00
Doug Coleman
9dbfc9351c
math.functions: nan: -> NAN: oops
2017-12-28 00:43:51 -08:00
Doug Coleman
099549940a
math.functions: disable a test.
2017-12-27 22:28:20 -08:00
Doug Coleman
79ae918e29
basis: buncha simd moved
2017-12-26 15:46:08 -08:00
Doug Coleman
76ce988587
factor: punt on other functors until the new parser compiles them.
2017-12-03 10:52:21 -06:00
Doug Coleman
43628c8340
core: Move more things to core.
...
Tricky things:
f props>> == @ _ are not defined in syntax
2017-11-24 18:42:30 -06:00
Doug Coleman
bf82be86b1
Merge branch 'master' into modern-harvey
2017-11-11 11:45:46 -06:00
Doug Coleman
b9e2b14cf0
modern: fix FOO>bar to \FOO>bar
2017-10-27 20:24:37 -05:00
John Benediktsson
aa5623eede
math: using ``v.`` instead of ``v* sum`` in a few places.
2017-10-24 12:26:39 -07:00
Doug Coleman
b8a502d7e2
math.functions.integer-logs: Word names like (foo) should only exist if foo exists.
2017-09-24 12:32:09 -05:00
Doug Coleman
ff93f58304
Merge branch 'master' into modern-harvey
2017-09-11 17:59:01 -05:00
Alexander Iljin
504c9959a1
Update some copyright headers to follow the current convention
...
Had to look through the history to find years for some headers. Added
authors to some files as well.
2017-09-11 15:43:03 -07:00
Doug Coleman
200b5192ed
factor: commit weekend work.
2017-09-11 16:37:47 -05:00
Doug Coleman
3aa096e2e5
docs: Update docs.
2017-08-31 21:21:14 -05:00
Doug Coleman
5507c2b676
factor: [let to let[, [| to |[
2017-08-31 21:21:13 -05:00
Doug Coleman
147ae66ab5
factor: SYNTAX: \foo
2017-08-31 21:21:13 -05:00
Doug Coleman
c436f6dbad
factor: char: postpone: color: hexcolor: flexhexcolor: decimal:
2017-08-31 21:21:13 -05:00
Doug Coleman
27b3c4cccf
functors: FUNCTOR: ;FUNCTOR -> <FUNCTOR: ;FUNCTOR>
...
Functors contain nested definitions, much like <PRIVATE PRIVATE> blocks.
A new parser will be able to parse nested definitions unambigiously without
knowledge of the definition of <FUNCTOR: itself, which is not the case if
it looks like FUNCTOR: instead.
2017-08-05 20:41:19 -05:00
Doug Coleman
0ac181c797
tools.test: Fix unit-test~ and a couple of tests.
2017-07-23 11:50:52 -05:00
Doug Coleman
49b01011c7
math.vectors.simd.intrinsics: Add a comment so I am not tempted to delete this word.
2017-07-23 11:44:01 -05:00
Doug Coleman
62129ffea4
basis: Add unit-test~ and unit-test-v~ for testing floats.
...
Use unit-test~ in math.functions in some places to make sure we like it.
2017-07-22 18:47:59 -05:00
Doug Coleman
01aab7c884
Factor: Rename <enum> to <enumerated> to not confuse with ENUM:s
2017-07-03 12:47:19 -07:00
John Benediktsson
c503659a93
math.functions: fix another test impacted by float truncate change.
2017-06-10 13:33:01 -07:00
John Benediktsson
57de1f5ab0
math.functions: make -0.3 truncate return 0.0 instead of -0.0.
2017-06-08 11:27:48 -07:00
Jon Harper
80e9d7c115
move math.extras:round-to-even to math.functions to use in basis:formatting
...
Also add round-to-odd in case it is needed.
Also change float rounding to be independent of the current rounding mode
2017-06-08 11:23:37 -07:00
Jon Harper
bf852cea6a
add basis.math.functions.integer-logs: exact integer logarithms
2017-06-08 11:22:40 -07:00
Jon Harper
34f36a529e
math.functions, speed up truncate for floats
2017-06-08 11:22:40 -07:00
Jon Harper
c74cfe6c54
math.functions: fix truncate and round to output -0.0 for negative floats near 0
2017-06-08 11:22:40 -07:00
Jon Harper
271c7d9519
math.functions, fix round for ratios between -1/2 and -1
...
it was outputting 1 instead of -1
2017-06-08 11:22:40 -07:00
Alexander Iljin
2ffa446f5b
*-docs: replace double spaces with single spaces
...
Code examples and other places where multiple spaces were used to align
text were left intact.
2017-06-05 13:16:07 -07:00
Doug Coleman
195630f637
iota: Fix second iota -> <iota> in line several times.
2017-06-02 15:41:51 -05:00
Doug Coleman
e189954ecc
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ;
2017-06-02 11:57:05 -05:00
Doug Coleman
7c7bb93c55
factor: Rename GENERIC# to GENERIC#:.
...
Fixes #1670 .
2017-06-01 13:58:58 -05:00