anyone know why this works:
float y;
y = powf ( 2.0, 2.0 );
...and this does not (undefined reference to 'powf')?
float x, y, z;
x = 2.0;
z = 2.0;
y = powf ( x, z );
...can't be a library issue, as alluded to by the error msg, because using literals instead of variables works. The horror...
float y;
y = powf ( 2.0, 2.0 );
...and this does not (undefined reference to 'powf')?
float x, y, z;
x = 2.0;
z = 2.0;
y = powf ( x, z );
...can't be a library issue, as alluded to by the error msg, because using literals instead of variables works. The horror...
Comment