|
|
|
|
|
by steveklabnik
3089 days ago
|
|
> All of them evaluate to Infinity when dividing a double by 0.0. No exceptions to be found. Well, Rust doesn't have exceptions, so it wouldn't happen, but yeah. To your parent, these languages follow IEEE 754, as far as I know, which specifies this behavior. |
|
Ok overall I'm wrong.
But either way poor design from a usability standpoint and from a consistency standpoint because ints don't do this.