Support binary and octal floating-point
[nasm.git] / float.h
blob6f644366902f467b6b8fc77200b082991098f268
1 /* float.h header file for the floating-point constant module of
2 * the Netwide Assembler
4 * The Netwide Assembler is copyright (C) 1996 Simon Tatham and
5 * Julian Hall. All rights reserved. The software is
6 * redistributable under the licence given in the file "Licence"
7 * distributed in the NASM archive.
8 */
10 #ifndef NASM_FLOAT_H
11 #define NASM_FLOAT_H
13 enum float_round {
14 FLOAT_RC_NEAR,
15 FLOAT_RC_ZERO,
16 FLOAT_RC_DOWN,
17 FLOAT_RC_UP,
20 int float_const(const char *string, int sign, uint8_t *result, int bytes,
21 efunc error);
22 int float_option(const char *option);
24 #endif