summaryrefslogtreecommitdiffstats
path: root/stdlib/compiler.tl
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-11-20 21:33:40 -0800
committerKaz Kylheku <kaz@kylheku.com>2022-11-20 21:33:40 -0800
commitc3bd722120585c59c47dff6a98948cd89cc8b28e (patch)
treea3679fd0570cf37154ed47582204f0ee4fd83b74 /stdlib/compiler.tl
parent224a72b55144f4c098295d947c4bd26da56c2c68 (diff)
downloadtxr-c3bd722120585c59c47dff6a98948cd89cc8b28e.tar.gz
txr-c3bd722120585c59c47dff6a98948cd89cc8b28e.tar.bz2
txr-c3bd722120585c59c47dff6a98948cd89cc8b28e.zip
expt: zero exponent yields 1.0.
* arith.c (expt): NUM-FLNUM, FLNUM-NUM and FLNUM-FLNUM cases ensure that if the expontent is zero, the return value is 1.0. Implementations of pow do this, but ISO C doesn't require it. * txr.1: Now documented.
Diffstat (limited to 'stdlib/compiler.tl')
0 files changed, 0 insertions, 0 deletions