1) Why does asin(28.867514) not return a number?
2) How can I check for -1.#IND000 in c++?
isnan() in cmath.h
or u can define it also
#define isnan(x) ((x) != (x))
I think it's is because you need to input the value in radians, try asin(28.867514*PI/180)
;