[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: gSpiceUI Successful compilation



Hi Shahab,

On Friday 06 May 2005 20:57, Shahab Sanjari wrote:
> 4- and finally for this one:
> utility/SpinCtrl.cpp:426: implicit declaration of function `int
> pow10f(...)' I changed the line to   fIncSz = (float)(i2 ^ 10);

I guess that code will not work as intended.
^ ist the exlusive or operator not the power operator.
you should use
	powf(10, i2);
instead.

regards
Werner