I got the error "Illegal Use of Floating Point" when
I put in a formula like:
Code: Select all
float result = 0.3^0.5;
float result = 0.3^5;
float result = 3^0.5;
couldn't figure out what data-type should it take
to proceed a formula in <float>^<float> form.
I've tried float, double, and long double with no success.
I'm sure there must be a way to do the trick.
Thank's in advance,
raysa