BR 2413265: don't pessimize displacements
[nasm/nasm.git] / float.h
blob74fd738da04d973ae9d07d7d5f690d31b0b4f8e5
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 license given in the file "LICENSE"
7 * distributed in the NASM archive.
8 */
10 #ifndef NASM_FLOAT_H
11 #define NASM_FLOAT_H
13 #include "nasm.h"
15 enum float_round {
16 FLOAT_RC_NEAR,
17 FLOAT_RC_ZERO,
18 FLOAT_RC_DOWN,
19 FLOAT_RC_UP,
22 int float_const(const char *string, int sign, uint8_t *result, int bytes,
23 efunc error);
24 int float_option(const char *option);
26 #endif