summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-03-30 08:13:12 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-03-30 08:13:12 -0700
commit0f8c0340958faf0c7819936107e905931f4b4725 (patch)
treed0ca8b883043d87d2fe17a23b022478c3bcca94f /txr.1
parentf0e1b81350ea2011cd9f4ce57a86a8c17eb5c66f (diff)
downloadtxr-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.18
1 files changed, 4 insertions, 4 deletions
diff --git a/txr.1 b/txr.1
index 377584c0..8e8273a8 100644
--- a/txr.1
+++ b/txr.1
@@ -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