On 21 apr, 15:27, paul womack <pwom...@papermule.co.uk> wrote:
> IEEE floating-point standard, supported by almost all modern processors, 
> specifies that every floating point arithmetic operation, including division 
> by zero, has a well-defined result. In IEEE 754 arithmetic, a รท 0 is positive 
> infinity when a is positive, negative infinity when a is negative, and NaN 
> (not a number) when a = 0. The infinity signs change when dividing by -0 
> instead. This is possible because in IEEE 754 there are two zero values, plus 
> zero and minus zero, and thus no ambiguity.

Ah yes, I see, I hadn't considered it that way. Then the question is,
is a check for a=0 necessary? Doesn't the arithmetic take this into
account automatically (as in, it computes the result as +INF or -INF,
depending on the value of Aux_1)?

Best,
Bart
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---

Reply via email to