Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
An Open Letter to the VFP Community
Message
 
 
To
20/05/2002 16:55:53
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00658724
Message ID:
00659127
Views:
30
>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

What is x/sin(x) where x->0? 1
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform