From 0f8c0340958faf0c7819936107e905931f4b4725 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sat, 30 Mar 2019 08:13:12 -0700 Subject: 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. --- tests/016/ud-arith.expected | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/016/ud-arith.expected (limited to 'tests/016/ud-arith.expected') diff --git a/tests/016/ud-arith.expected b/tests/016/ud-arith.expected new file mode 100644 index 00000000..e69de29b -- cgit v1.2.3