Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
f3a3930
Added tests/jsnum-test.js to test methods in js-numbers.js that aren'…
ds26gte Sep 4, 2025
b414392
Merge branch 'fromFixnum-fix' into jsnum-tests
ds26gte Sep 15, 2025
a6485eb
- jsnums-test.js: enhance #1812
ds26gte Sep 16, 2025
812e409
fromString(): Rational.makeInstance already takes care of den == 1
ds26gte Sep 16, 2025
a1837be
- makeNumericBinop tests
ds26gte Sep 16, 2025
f2d40dd
jsnums-tests.js: Add tests for Rational methods
ds26gte Sep 17, 2025
b8442a2
- more Rational.* tests
ds26gte Sep 19, 2025
6e0e0ef
scrub unnecessary defs from jsnums-test.js
ds26gte Sep 19, 2025
74efc26
add Roughnum.* tests
ds26gte Sep 19, 2025
bc4f135
- add arrayEquals to help test structural equality
ds26gte Sep 19, 2025
6beef5f
- numerator, denominator methods take errbacks param
ds26gte Sep 19, 2025
66122ae
Merge branch 'horizon' into jsnum-tests
ds26gte Sep 20, 2025
cc52770
jsnums-test.js: add test for gcd, lcm
ds26gte Sep 20, 2025
cb4e69e
- add tests for number predicates, sign, zfill, liftFixnumInteger
ds26gte Sep 21, 2025
1b7a85e
add tests for number casts
ds26gte Sep 21, 2025
e791660
- add tests for nthRoot() and integerNthRoot() #1812
ds26gte Sep 22, 2025
8c85b1f
- BigInteger canonicalizer bnpClamp() #1823
ds26gte Sep 23, 2025
74b589c
- test that bignums indeed have unique representations
ds26gte Sep 24, 2025
8d75cd8
tests for
ds26gte Sep 24, 2025
3b9cad4
- test BigInteger's {copy,sub,multiply,{d,}{l,r}Shift}To
ds26gte Sep 25, 2025
cb5b948
test for bnp{Squareto,DivRemTo,Exp,IsEven,ModInt}
ds26gte Sep 25, 2025
15914a9
- makeInteger{UnOp,Binop}: use & propagate errbacks appropriately
ds26gte Sep 26, 2025
09a47af
test bnpToRadix
ds26gte Sep 29, 2025
d727abd
- ensure all calls to equals(), lessThan{,OrEqual}() take errbacks
ds26gte Sep 29, 2025
0bdd499
test toRepeatingDecimal() for non-valid args
ds26gte Sep 29, 2025
00b90b9
- add num-gcd courtesy @blerner #1427
ds26gte Oct 3, 2025
d3d00ad
remove all (commented) debugging console.log's
ds26gte Oct 7, 2025
1ec7a95
jsnums-test.js: Add test for toRepeatingDecimal() mistakenly called with
ds26gte Oct 7, 2025
7b63e0f
- lift def of getReside() up from toRepeatingDecimal()
ds26gte Oct 8, 2025
2a22911
simplify toRepeatingDecimal(). Now that getResidue() is out,
ds26gte Oct 9, 2025
d58e838
jsnums-test.js: test toRepeatingDecimal errors, with and without corr…
ds26gte Oct 9, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/arr/compiler/compile-structs.arr
Original file line number Diff line number Diff line change
Expand Up @@ -3119,6 +3119,8 @@ runtime-provides = provides("builtin://global",
"num-atan", t-number-unop,
"num-atan2", t-number-binop,
"num-modulo", t-number-binop,
"num-gcd", t-number-binop,
"num-lcm", t-number-binop,
"num-remainder", t-number-binop,
"num-sqrt", t-number-unop,
"num-sqr", t-number-unop,
Expand Down
Loading