mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-09 08:51:18 +08:00
5eff8912bc
"float.h" references efunc, so it needs "nasm.h". It also has uint8_t and so need <inttypes.h>, but that's part of "nasm.h".
27 lines
632 B
C
27 lines
632 B
C
/* float.h header file for the floating-point constant module of
|
|
* the Netwide Assembler
|
|
*
|
|
* The Netwide Assembler is copyright (C) 1996 Simon Tatham and
|
|
* Julian Hall. All rights reserved. The software is
|
|
* redistributable under the license given in the file "LICENSE"
|
|
* distributed in the NASM archive.
|
|
*/
|
|
|
|
#ifndef NASM_FLOAT_H
|
|
#define NASM_FLOAT_H
|
|
|
|
#include "nasm.h"
|
|
|
|
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);
|
|
int float_option(const char *option);
|
|
|
|
#endif
|