diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-03-30 08:13:12 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-03-30 08:13:12 -0700 |
commit | 0f8c0340958faf0c7819936107e905931f4b4725 (patch) | |
tree | d0ca8b883043d87d2fe17a23b022478c3bcca94f /glob.c | |
parent | f0e1b81350ea2011cd9f4ce57a86a8c17eb5c66f (diff) | |
download | txr-0f8c0340958faf0c7819936107e905931f4b4725.tar.gz txr-0f8c0340958faf0c7819936107e905931f4b4725.tar.bz2 txr-0f8c0340958faf0c7819936107e905931f4b4725.zip |
Tests for user-defined arithmetic and fixes.
* tests/016/ud-arith.expected b/tests/016/ud-arith.tl:
New file.
* tests/016/ud-arith.expected b/tests/016/ud-arith.expected:
New file.
* arith.c (divi): Bugfix: wrong argument tested for being
a COBJ.
(logtrunc): Fix incorrect method call: calling r-logtrunc-s
for the object-in-left-position case.
(sign_extend): Fix semantics not following documentation:
dispatch method with original arguments.
(divv): When there is just one argument, take advantage of the
hitherto unused unary case of divi rather than giving it both
arguments. The object dispatch is in that unary case, so we
need it now.
(arith_init): Fix wrong name of r_lognot_s symbol.
* txr.1: Fix atan2 being documented as atan.
Fix misspelling of r-lognot as lognot-r.
Diffstat (limited to 'glob.c')
0 files changed, 0 insertions, 0 deletions