float_divide
Divide an XFL by another XFL floating point number
Concepts
Behaviour
Divide an XFL by another XFL
Return a new XFL as an int64_t
Definition
C
Example
C
Parameters
Name
Type
Description
float1
int64_t
An XFL floating point enclosing number to act as numerator
float2
int64_t
An XFL floating point enclosing number to act as denominator
Return Code
Type
Description
int64_t
The XFL (xls17) enclosing number
If negative, an error:
INVALID_FLOAT
- the supplied parameter was not a valid XFL enclosing number or the division resulted in an XFL that cannot be represented.
DIVISION_BY_ZERO
- the supplied parameter was zero.
Last updated