what does #IND mean ?

Dec 24, 2016 at 12:48pm
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
Dec 24, 2016 at 1:38pm
closed account (48T7M4Gy)
http://stackoverflow.com/questions/7476177/why-the-return-value-of-double-is-1-ind
Dec 24, 2016 at 8:52pm
IND=indefined a.k.a NaN (not a number)
Dec 24, 2016 at 9:43pm
Nit: IND = indeterminate.
Dec 25, 2016 at 9:19am
closed account (L1vUM4Gy)
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.