Output for calculation is -1.#IND

I was wondering what -1.#IND means. At first I thought the number was just too big for the data type, double. So I changed it to long double and it still came out the same way.

Does it mean that the numbers I entered causes an issue with the math equation?

P.S. The program does work when I enter other numbers but for some reason, this input doesn't seem to want to give me a number back. Just -1 #IND.
-1.#IND is the negative version of 1.#INF
so what does 1.#INF mean?
Nevermind that last question. I just googled what INF means and its infinity.
Thanks LB. Now I have somewhere to start when debugging the program.
Last edited on
Topic archived. No new replies allowed.