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 /txr.1 | |
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 'txr.1')
-rw-r--r-- | txr.1 | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -38241,7 +38241,7 @@ and .code floor methods are required. -.umv round +.umv round1 round Note: the two-argument version of the .code round @@ -38266,8 +38266,8 @@ above functions are required. .um asin .um acos .um atan -.bmnl atan -.bmnr r-atan atan +.bmnl atan2 +.bmnr r-atan2 atan2 .um log .um log2 .um log10 @@ -38276,7 +38276,7 @@ above functions are required. .bmcv logand .bmcv logior .bmnl lognot -.bmnr lognot-r lognot +.bmnr r-lognot lognot .umv lognot1 lognot .bmnl logtrunc .bmnr r-logtrunc logtrunc |