imho since a float division by 0.0 gives consistent results it shouldn't be forbidden
Dri
Division by 0.0 allowed
well, many languages display an error on such expression.
for example, here is the Python 2.5.1 output :
about mathematic expression, i can trust python which is very sure & stable.
when i have a doubt in purebasic, then i often test in python...
for example, here is the Python 2.5.1 output :
>> 25 / 0.0
>> ZeroDivisionError: float division.
>> 25 / 0
>> ZeroDivisionError: integer division or modulo by zero.
about mathematic expression, i can trust python which is very sure & stable.
when i have a doubt in purebasic, then i often test in python...
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer