diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-11-20 21:33:40 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-11-20 21:33:40 -0800 |
commit | 3a84aceb203928c5718553bc56cb3648caa3fcb1 (patch) | |
tree | a3679fd0570cf37154ed47582204f0ee4fd83b74 /stdlib/termios.tl | |
parent | 0242cf2e537bc1faad5c4650e6e06e4eac6b6d23 (diff) | |
download | txr-3a84aceb203928c5718553bc56cb3648caa3fcb1.tar.gz txr-3a84aceb203928c5718553bc56cb3648caa3fcb1.tar.bz2 txr-3a84aceb203928c5718553bc56cb3648caa3fcb1.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/termios.tl')
0 files changed, 0 insertions, 0 deletions