mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 08:46:53 +08:00
Make sure floating point returns Infinity
This commit is contained in:
parent
576816e3b1
commit
420ba68b94
@ -5,3 +5,5 @@ try {
|
||||
assert_equal("Arithmetic error: divide by zero", e.what())
|
||||
}
|
||||
|
||||
assert_equal(3/0.0, Infinity)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user