adapting someone else's code

cj5's Avatar, Join Date: Oct 2010
cj5
Newbie Member
Hello there,

I am converting some C/C++ code and ran into this.

double r = (1.f/z)*c; c and z are of type complex; but what is 1.f ??

thanks,

Ron
0
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
Looks invalid to me. What version of what compiler compiles the existing code?