3 ms·
In float yes. In int there's no Inf. There's only MAX_INT or 0 or throw an exception. Normal langs throw. That what the checked int div will do. But the unchec
by rurban 8y ago
In float yes. In int there's no Inf. There's only MAX_INT or 0 or throw an exception.
Normal langs throw. That what the checked int div will do. But the unchecked int div has no return type which allows throwing an error. And pony is strongly typed, unlike most other langs. That's why it can guarantee much more safeties and performance than all other languages.