I am working with devcpp, and have written a c program

  • Thread starter Thread starter smslca
  • Start date Start date
  • Tags Tags
    Program
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 3K views
smslca
Messages
63
Reaction score
0
I am working with devcpp, and have written a c program. After I had compiled it and make it to run, I got these symbols at some places (i.e for some values of input) . I want to know what are they and what do they represent.

symbols:
-1.#IND00000000
-1.#QNAN0
 
Physics news on Phys.org


smslca said:
I am working with devcpp, and have written a c program. After I had compiled it and make it to run, I got these symbols at some places (i.e for some values of input) . I want to know what are they and what do they represent.

symbols:
-1.#IND00000000
-1.#QNAN0

The QNAN0 is short for "Not a Number": it represents that the floating point number is not a valid one. This could be because of overflow (number too big) or underflow (number too small).

Not sure about the other one (its been a while since I've seen that error).
 


thanks it helps me somewhat