comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: what is Floating illegal operand question?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: what is Floating illegal operand question? [message #43690 is a reply to message #43689] Mon, 18 April 2005 14:24 Go to previous messageGo to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
Haje Korth wrote:
> Well, if I understand this right, 0/0 is defined and the result is 0, so
> that the division by zero message is only informational. On the other hand
> 0./0. is not defined for floating point numbers and results in an error (see
> http://mathworld.wolfram.com/DivisionbyZero.html). Correct me if I am wrong.

0/0 is exactly as undefined for integers as 0.0/0.0 is for floating
point. To see why that is true, please try to identify a finite floating
point value for f that is NOT a solution to this equation:

0.0*f eq 0.0

Then try to find an integer value for i that is NOT a solution for

0*i eq 0

Is it any easier for the integer case than for the floating point case?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Creating arrays of structures with Callable C
Next Topic: how to draw three-dimension graph using IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 10:18:31 PDT 2025

Total time taken to generate the page: 1.60017 seconds