python-on-a-chip online compiler
float.c File Reference
Float Object Type. More...
Go to the source code of this file.
Functions | |
PmReturn_t | float_new (float f, pPmObj_t *r_pf) |
Creates a new Float object. | |
PmReturn_t | float_print (pPmObj_t pf) |
Sends out a float object. | |
PmReturn_t | float_negative (pPmObj_t pf, pPmObj_t *r_pf) |
Implements the UNARY_NEGATIVE bcode. | |
PmReturn_t | float_op (pPmObj_t px, pPmObj_t py, pPmObj_t *r_pn, int8_t op) |
Returns by reference a float that is x op y. | |
PmReturn_t | float_compare (pPmObj_t px, pPmObj_t py, pPmObj_t *r_pobj, PmCompare_t cmp) |
Returns by reference a boolean that is x op y. |
Detailed Description
Float Object Type.
Float object type operations.
Definition in file float.c.
Function Documentation
PmReturn_t float_compare | ( | pPmObj_t | px, |
pPmObj_t | py, | ||
pPmObj_t * | r_pobj, | ||
PmCompare_t | cmp | ||
) |
PmReturn_t float_negative | ( | pPmObj_t | pf, |
pPmObj_t * | r_pf | ||
) |
PmReturn_t float_new | ( | float | f, |
pPmObj_t * | r_pf | ||
) |
PmReturn_t float_op | ( | pPmObj_t | px, |
pPmObj_t | py, | ||
pPmObj_t * | r_pn, | ||
int8_t | op | ||
) |
PmReturn_t float_print | ( | pPmObj_t | pf ) |
Generated on Tue Jul 12 2022 23:13:47 by 1.7.2