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 for backwards compatibility. At the fundamental level, fneg is exactly the same routine as bcdneg.


Uses: _bcd_math
Used by: bcdneg