summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-11-16 06:53:03 -0800
committerKaz Kylheku <kaz@kylheku.com>2018-11-16 06:53:03 -0800
commitb901452571285988ea4b3367c64642d2e8e0a580 (patch)
tree66d294746eef221cf816f78199e4c5a2078b7975 /share
parent57cee8154fddd7697cd8573a356910ebc9e00b6d (diff)
downloadtxr-b901452571285988ea4b3367c64642d2e8e0a580.tar.gz
txr-b901452571285988ea4b3367c64642d2e8e0a580.tar.bz2
txr-b901452571285988ea4b3367c64642d2e8e0a580.zip
math: remove redundant type checks from NUM.
* arith.c (plus, minus, neg, abso, signum, mul, trunc, mod, floordiv, plusp, minusp, evenp, oddp, gt, lt, ge, le, numeq, expt, exptmod, isqrt, gcd, flo_int, logand, logior, logxor, comp_trunc, lognot, logtrunc, sign_extend, ash, bit, logcount, tofloat, toint, width, poly, rpoly): Use the unchecked c_n rather than c_num on quantities that are known to be of NUM and CHR type. * lib.h (c_n): New inline function.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions