diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-03-12 06:22:15 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-03-12 06:22:15 -0700 |
commit | d0b35b7d272eaf4fbcf7754e25801739ddb2410d (patch) | |
tree | ebb220c8a2d04a93c685dfa0b4c7a707c62525be /txr.1 | |
parent | 4098bdfbe0406bfacfc8a1b46bfad38964cfd2df (diff) | |
download | txr-d0b35b7d272eaf4fbcf7754e25801739ddb2410d.tar.gz txr-d0b35b7d272eaf4fbcf7754e25801739ddb2410d.tar.bz2 txr-d0b35b7d272eaf4fbcf7754e25801739ddb2410d.zip |
parser: catch out-of-range floats.
* parser.l (out_of_range_float): New static function.
(grammar): Check for flo_str returning nil in several places;
that value is returned for out of range floats. This is not
documented!
* txr.1: Document athat flo-str returns nil for out-of-range
floats.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -36741,6 +36741,11 @@ part denoted by the letter or .codn e , an optional sign and one or more optional exponent digits. +If the value specified by +.meta string +is out of range of the floating-point representation, then +.code nil +is returned. The .code num-str |