Hacker News new | ask | show | jobs
by FlipperBucket 2867 days ago
> You’re doing something different than real number arithmetic

Computer languages execute on rules that are not utilizing real number arithmetic. I didn't want to mention it, but there's these things called floats...

Edit: Pony took out the "normal" version of division by zero and suggest to write a wrapper to check beforehand.

1 comments

Where did I say anything about computers? I’m referring to real numbers.
The topic is a computer language. I'm referring to utility.
Floating point is only useful to the extent that it approximates real arithmetic.
In pony, floating point behaves 1.0/0.0 the way you might expect.