summaryrefslogtreecommitdiff
path: root/float.h
diff options
context:
space:
mode:
Diffstat (limited to 'float.h')
-rw-r--r--float.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/float.h b/float.h
index 769cc1e..430c464 100644
--- a/float.h
+++ b/float.h
@@ -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