Hi, All !

I have a strange behaviour of multiplication in fplib. Here is an example:

float sqrt1(float x)
{
float r=1.375;
r=0.5*x;
return r;
}

void main()
{
b=sqrt1(2.82);
}

The result is b=1.0 :-/. If I do not use fplib the result is corret, but the
code is 4Kb large :-(.

All the best !
Oleg
P.S. msp430-gcc (3.2.1) is built from the sources downloaded last week from
the sourceforge CVS.


Reply via email to