regularized spelling of license to match name of LICENSE file
[platform/upstream/nasm.git] / float.h
1 /* float.h   header file for the floating-point constant module of
2  *           the Netwide Assembler
3  *
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  */
9
10 #ifndef NASM_FLOAT_H
11 #define NASM_FLOAT_H
12
13 enum float_round {
14     FLOAT_RC_NEAR,
15     FLOAT_RC_ZERO,
16     FLOAT_RC_DOWN,
17     FLOAT_RC_UP,
18 };
19
20 int float_const(const char *string, int sign, uint8_t *result, int bytes,
21                 efunc error);
22 int float_option(const char *option);
23
24 #endif