Skip to content

float_negate

Floating Point Numbers (XFL)
  • Multiply an XFL by -1
  • Return a new XFL as an int64_t
int64_t float_negate (
int64_t float1
);
int64_t negative_one =
float_negate(float_one());
NameTypeDescription
float1int64_tAn XFL floating point enclosing number
TypeDescription
int64_t

The XFL (xls17) enclosing number

If negative, an error:
INVALID_FLOAT
- one of the supplied parameters was not a valid XFL enclosing number