A89: What the heck is wrong with this?!
[Prev][Next][Index][Thread]
A89: What the heck is wrong with this?!
what is wrong with this code?! using tigcc, l CANNOT multiply a variable by
anything and store it into another variable; l get the following errors:
undefined reference to _floatsidf
undefined reference to _adddf3
undefined reference to _fixdfsi
The above happens whenever l do these operations:
_main()
{
int key;
int key2;
key = 3.8 * 2.0; // this line works fine
key2 = 3.8 * key; // this line always gives the errors, because it is
multiplying by key instead of another number
}
ANOTHER example:
_main()
{
int a;
a = 0;
a *= 3.8; // Why is this giving an error!!!!!!!
}