![]() |
fneg | Function (ROM Call 0xBA*) |
timath.h |
float fneg (float x); |
Floating point negation.
fneg returns negated value of floating point argument x.
This routine performs the same operation as the C '-'
unary minus operator applied
to a floating point operand, but it is kept here to allow compatibility with older programs created before
TIGCC introduced floating point operators (i.e. before release 0.9 of TIGCC).
At the fundamental level, fneg is exactly the same routine as
bcdneg.