diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-09-17 09:49:25 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-09-17 09:49:25 -0700 |
commit | 4a5a29a76b8e5aa139209aabe310c2179a60608d (patch) | |
tree | 498688e76d70fcf1504b02f105b750eaa4f8371d /arith.c | |
parent | 01628a8244053ced7dd0f20e13e4ce3ff3e81481 (diff) | |
download | txr-4a5a29a76b8e5aa139209aabe310c2179a60608d.tar.gz txr-4a5a29a76b8e5aa139209aabe310c2179a60608d.tar.bz2 txr-4a5a29a76b8e5aa139209aabe310c2179a60608d.zip |
* arith.c (comp_trunc, logcomp): logcomp renamed to lognot,
consistent with Common Lisp.
* eval.c (eval_init): logcomp to lognot.
* lib.h (logcomp): Declaration updated.
Diffstat (limited to 'arith.c')
-rw-r--r-- | arith.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1649,16 +1649,16 @@ static val comp_trunc(val a, val bits) } bad: - uw_throwf(error_s, lit("logcomp: operation failed on ~s"), a, nao); + uw_throwf(error_s, lit("lognot: operation failed on ~s"), a, nao); bad2: - uw_throwf(error_s, lit("logcomp: bits value ~s is not a fixnum"), bits, nao); + uw_throwf(error_s, lit("lognot: bits value ~s is not a fixnum"), bits, nao); bad3: - uw_throwf(error_s, lit("logcomp: non-integral operand ~s"), a, nao); + uw_throwf(error_s, lit("lognot: non-integral operand ~s"), a, nao); } -val logcomp(val a, val bits) +val lognot(val a, val bits) { val b; @@ -1674,11 +1674,11 @@ val logcomp(val a, val bits) goto bad; return b; default: - uw_throwf(error_s, lit("logcomp: non-integral operand ~s"), a, nao); + uw_throwf(error_s, lit("lognot: non-integral operand ~s"), a, nao); } bad: - uw_throwf(error_s, lit("logcomp: operation failed on ~s"), a, nao); + uw_throwf(error_s, lit("lognot: operation failed on ~s"), a, nao); } val logtrunc(val a, val bits) |