diff options
Diffstat (limited to 'float.h')
-rw-r--r-- | float.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -10,7 +10,14 @@ #ifndef NASM_FLOAT_H #define NASM_FLOAT_H -int float_const(char *number, int32_t sign, uint8_t *result, int bytes, +enum float_round { + FLOAT_RC_NEAR, + FLOAT_RC_ZERO, + FLOAT_RC_DOWN, + FLOAT_RC_UP, +}; + +int float_const(const char *string, int sign, uint8_t *result, int bytes, efunc error); #endif |