Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
An Open Letter to the VFP Community
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00658724
Message ID:
00659106
Views:
32
I'm not qualified to enter the debate about what should happen on divide by zero. I'll take whatever the language offers and go with that.

But, just as a curiosity, I remember a debate in my first programming language (APL) on what 0/0 should be

1. Error - since divide by zero is an error (or however it is defined in the language)

2. Zero - since zero divided by anything is zero

3. One - since anything divided by itself is one

It's been a long time, but I think the language architects decided on option 3
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform