NAN in program output

Hey I tried to run a code, but the output is NAN, Can anyone help me? thanks

Window Trail #860
sq var.: nan
Window Trail #861
sq var.: nan
Window Trial #862
sq var.: 16.8922
Window Trial #863
sq var.: 16.8922
Window Trial #864
Hey I tried to run a code, but the output is NAN, Can anyone help me? thanks

Remember that we don't know your code at all. If you don't give us your code we can't point out the mistakes for you.
My codes are too long around 3000 line, so how could I post it here? Thanks
This site is useful and you just need to copy the link to your paste.

http://textuploader.com/

The NaN values are used to identify undefined or non-representable values for floating-point elements, such as the square root of negative numbers or the result of 0/0.

http://www.cplusplus.com/reference/cmath/isnan/

Check your code for these.
Topic archived. No new replies allowed.