summaryrefslogtreecommitdiffhomepage
path: root/lexer.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-09-07 12:38:21 +0200
committerJo-Philipp Wich <jo@mein.io>2020-09-07 16:30:34 +0200
commitdcf0d1285d12684a5907fecb8aadca7bc2e5f44b (patch)
tree6e3ba586ad9aef18c9aac428b85479eb67c629ae /lexer.c
parentc64877172c13b89f40d310e27552bb80e1ea230f (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