![]() |
C++ double error
What does the it mean when a double outputs as these error codes?
-1.#J -1.#IND |
-1.#IND is NaN (not a number) sqrt(-1), 0.0f / 0.0f will both give this result.
not sure about the other. |
Never seen -1.#J before. Looks interesting. Are you going to tell us how you got that value?
|
the -1.#IND was comming from the square root of a negative. I have no clue what caused the -1.#J I'm running some linear algerbra algorithms on some large matrix's to demonstrate floating point errors. So it is probably realted to that somehow.
|
All times are GMT -8. The time now is 06:12 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project