Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-10-23 | Add a new match compiler implementation | Mura Li | |
References: "When Do Match-Compilation Heuristics Matter?" by Kevin Scott and Norman Ramsey Stats: Sample count: 506 Dtree Size avg: 5.38 95th percentile: 3.00 maximum: 100 Dtree Height avg: 1.39 95th percentile: 1.00 maximum: 12 Sample generation: $ MATCH_STATS=1 make bootstrap && mbld -R support/matchstats.myr ./match.csv | |||
2019-10-21 | Use optparse's .arg to pass run target | Mura Li | |
2019-10-22 | Support cli arguments for mbld -R | Mura Li | |
Example: mbld -R main.myr arg1 arg2 arg3 | |||
2019-10-18 | Tie return value of mbld to results of specified targets | sgilles@math.umd.edu | |
I'd like to have `mbld test' return non-0 when the tests fail. I think this does it, but I may be over-simplifying. mbld/main.myr | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) Tie return value of mbld to results of specified targets | |||
2019-09-10 | Force scientific notation to print trailing 0s | S. Gilles | |
Also, recalculate 2*R + M+ during the Fixup loop. This prevents rare digit miscalculations: e.g. std.put("{e,s=4}\n", std.flt32frombits(0x2899fbf7)) | |||
2019-09-09 | Allow printing fltXY in scientific notation | S. Gilles | |
2019-09-09 | Split out intfmt to a separate file. | S. Gilles | |
This prepares for intfmt being used within fltfmt for the exponent in scientific notation. | |||
2019-09-09 | Specify sigfigs (cutoff + Relative mode) for fltXY formatting | S. Gilles | |
2019-09-07 | Allow padding for fltXY formatting | S. Gilles | |
2019-09-07 | Collect fltXYbfmt parameters into analogue of intparams | S. Gilles | |
2019-07-31 | Fix bug in dump code: Stray '{', wrong args. | Ori Bernstein | |
2019-07-26 | Fix wycheproof tests for curve25519 (thanks Mike) | Ori Bernstein | |
2019-07-25 | Add curv25519 tests (thanks Mike) | Ori Bernstein | |
2019-07-23 | Add OpenBSD 6.4 syscalls | Carlin Bingham | |
Only relevant change between 6.3 and 6.4 is adding unveil: https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/kern/syscalls.master.diff?r1=1.188&r2=1.180&f=h | |||
2019-07-22 | Fix std.getcwd on OpenBSD -current | Carlin Bingham | |
The __getcwd syscall returning the length of the string was apparently unintended and was changed in 6.5 -current to return 0 on success: https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/kern/vfs_getcwd.c#rev1.33 This causes std.getcwd to return an empty string, which at least breaks `mbld test`. This patch works with both the old and new behaviour. | |||
2019-07-18 | Fix typos in spec (thanks, Mike) | Ori Bernstein | |
2019-07-18 | Fix bigand/bigor: Thanks, Mike | Ori Bernstein | |
2019-07-13 | Oops, mangled something with git9. | Ori Bernstein | |
2019-07-14 | Fix crash with large shifts in bigint. | Ori Bernstein | |
2019-07-14 | Fix memory leak in bigparse. (Thanks, Mike) | Ori Bernstein | |
2019-06-13 | Correctly Fused Multiply Add when all top bits cancel. | S. Gilles | |
2019-06-09 | Merge commit 'e09c6b53f3b1928d3752c53c813025dbcbb976e0' | Ori Bernstein | |
2019-06-09 | Fix error message for {} without parameter | S. Gilles | |
Move the nfmt > nvarargs check to where it can detect the imminent bad access. | |||
2019-06-09 | Use fma instead of rote multiplication in powr's final calculation. | S. Gilles | |
Since the exp() we use is sometimes wrong by 1 ulp, the final multiplication has a possibility of increasing that to 2 ulps. Using fma instead makes such a thing much less likely. This makes some of our off-by-0s off-by-1s, and vice versa, but on the whole it is a definite improvement. | |||
2019-06-09 | Test powr. | S. Gilles | |
2019-06-09 | Rewrite powr to use log-overkill. | S. Gilles | |
2019-06-09 | Apply changes of pown to rootn. Faster, better edge handling. | S. Gilles | |
2019-06-09 | Rework pown to be less embarrassingly slow. | S. Gilles | |
2019-06-09 | Fix some special cases in log-overkill related to subnormals. | S. Gilles | |
2019-06-07 | Move hi/lo multiplication and addition routines to util. | S. Gilles | |
2019-06-07 | Merge remote-tracking branch 'origin/master' into pown-impl | S. Gilles | |
2019-06-07 | Remove debugging information. | S. Gilles | |
2019-06-07 | Rewrite log-overkill.myr | S. Gilles | |
Instead of performing the arbitrary-precision calculation, we can instead generalize [Tan90] slightly to use multiple levels of tables. This isn't quite as wasteful. | |||
2019-05-21 | Correct sign-handling for pown special case | S. Gilles | |
2019-05-11 | Fix Remez algorithm. | S. Gilles | |
2019-05-10 | Allow exact case of mkbigint(2^32) | S. Gilles | |
2019-05-08 | Fix thing scorrectly. | Ori Bernstein | |
2019-05-08 | Revert "Tag types on import." | Ori Bernstein | |
This reverts commit a3bce47d15d25fc3bca79ee50fca3fd4df538d5b. | |||
2019-05-07 | Tag types on import. | Ori Bernstein | |
Fixes missing tagged types. | |||
2019-05-02 | Replace costly sum with slightly faster sums in log-overkill. | S. Gilles | |
This still doesn't make the function fast, but it's less embarassingly slow now. | |||
2019-05-01 | Typo in log-overkill explanation. | S. Gilles | |
2019-05-01 | Implement rootn. | S. Gilles | |
2019-05-01 | Add missing reference for pown and rootn. | S. Gilles | |
2019-05-01 | Add pown function. | S. Gilles | |
2019-05-01 | Test the slow2sum function. | S. Gilles | |
The singular piece of test data is the tuple that caused me to spend far too long realizing that fast2sum is not always appropriate. | |||
2019-05-01 | Add a log function which returns far too much precision. | S. Gilles | |
This makes accurately computing pown and powr easier. | |||
2019-05-01 | Add 2sum in math util | S. Gilles | |
Fast2sum is only for when magnitudes of the arguments are known. 2sum (called "slow2sum") avoids this, at the cost of speed. It ends up being necessary in the forthcoming log-overkill function. | |||
2019-05-01 | Add fltXXfromuintXX to ancillary math script. | S. Gilles | |
2019-04-29 | Print "NaN" and "Inf" for floating-point NaNs and infinites. | S. Gilles | |
2019-04-28 | Add test for previous issue. | Ori Bernstein | |