what does #IND mean ?
Dear community,
what -1.#IND means ?
|
cout <<u[0]/abs(v[0])<< " ^ " <<(1/beta)<<" = "<<pow((u[0]/abs(v[0])),(1/beta))<< endl;
|
I'm getting this output
0.361351 ^ 0.666667 = -1.#IND
http://stackoverflow.com/questions/7476177/why-the-return-value-of-double-is-1-ind
IND=indefined a.k.a NaN (not a number)
Nit: IND = indeterminate.
How about this?
cout << "0.361351 ^ 0.666667 = " << pow (0.361351, 0.666667) << endl;
0.361351 ^ 0.666667 = 0.507325 |
Topic archived. No new replies allowed.