float_sign
Get the sign of an XFL enclosing number
Concepts
Behaviour
Return
1
if the XFL is negative, otherwise return 0
Definition
C
Example
C
πHintThe sign bit inside the XFL is the
0
when the XFL is negative, however this function follows the standard computing convention to return1
if it is negative.
Parameters
Name
Type
Description
float1
int64_t
An XFL floating point enclosing number
Return Code
Type
Description
int64_t
The sign of the XFL:
0
if positive, 1
if negative.
If negative, an error:
INVALID_FLOAT
- the supplied parameter was not a valid XFL enclosing number
Last updated