# Floating Point Number and dividebyzero arithmatic exception

veer jain

Greenhorn

Posts: 5

Gitesh Ramchandani

Ranch Hand

Posts: 274

posted 8 years ago

* if the value of the divisor in floating-point division is 0 no exception is thrown; the value of the results are as follows:

o division of a positive floating-point value: POSITIVE_INFINITY

o division of a negative floating-point value: NEGATIVE_INFINITY

o division of a floating-point value by -0: POSITIVE_INFINITY

o division of a positive floating-point value: POSITIVE_INFINITY

o division of a negative floating-point value: NEGATIVE_INFINITY

o division of a floating-point value by -0: POSITIVE_INFINITY