java.sun.com documentation

Division By Zero
Suppose you have a Java language program in which the following expression 
appears:

    1.0 / 0.0

What happens? Does this usage cause an exception to be thrown? Is the result 
undefined?

In the Java programming language, integral division by zero results in an 
ArithmeticException. But for floating-point, no 
exception is thrown.


Best regards,
Miguel Angel Marchuet

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to