diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-09-07 12:38:21 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-09-07 16:30:34 +0200 |
commit | dcf0d1285d12684a5907fecb8aadca7bc2e5f44b (patch) | |
tree | 6e3ba586ad9aef18c9aac428b85479eb67c629ae /lexer.c | |
parent | c64877172c13b89f40d310e27552bb80e1ea230f (diff) |
eval: adjust results for arithmetic division by nan, infinity
Follow ECMAScript logic. Division by zero yields infinity, division by
infinity yields zero.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'lexer.c')
0 files changed, 0 insertions, 0 deletions