#include <asm/sfp-machine.h>
#include <endian.h>
#include <math-emu/op-1.h>
#include <math-emu/op-2.h>
#include <math-emu/op-4.h>
#include <math-emu/op-8.h>
#include <math-emu/op-common.h>
#include <stdlib/longlong.h>
Go to the source code of this file.
#define _FP_CLS_COMBINE |
( |
|
x, |
|
|
|
y |
|
) |
| (((x) << 2) | (y)) |
#define _FP_ROUND |
( |
|
wc, |
|
|
|
X |
|
) |
| |
Value:do { \
if (_FP_FRAC_LOW_##
wc(
X) & 7) \
{ \
_FP_ROUND_NEAREST(
wc,
X); \
break; \
break; \
break; \
break; \
} \
} while (0)
Definition at line 155 of file soft-fp.h.
#define _FP_ROUND_MINF |
( |
|
wc, |
|
|
|
X |
|
) |
| |
Value:do { \
if (
X##_s && (_FP_FRAC_LOW_##
wc(
X) & 7)) \
} while (0)
Definition at line 149 of file soft-fp.h.
#define _FP_ROUND_NEAREST |
( |
|
wc, |
|
|
|
X |
|
) |
| |
#define _FP_ROUND_PINF |
( |
|
wc, |
|
|
|
X |
|
) |
| |
Value:do { \
if (!
X##_s && (_FP_FRAC_LOW_##
wc(
X) & 7)) \
} while (0)
Definition at line 143 of file soft-fp.h.
#define _FP_ROUND_ZERO |
( |
|
wc, |
|
|
|
X |
|
) |
| 0 |
#define FP_CLEAR_EXCEPTIONS _fex = 0 |
#define FP_CUR_EXCEPTIONS (_fex) |
#define FP_DECL_EX int _fex = 0 |
#define FP_EX_INVALID_IDI 0 |
#define FP_EX_INVALID_IMZ 0 |
#define FP_EX_INVALID_ISI 0 |
#define FP_EX_INVALID_SNAN 0 |
#define FP_EX_INVALID_ZDZ 0 |
#define FP_HANDLE_EXCEPTIONS do {} while (0) |
#define FP_INHIBIT_RESULTS 0 |
#define FP_INIT_ROUNDMODE do {} while (0) |
#define FP_SET_EXCEPTION |
( |
|
ex | ) |
_fex |= (ex) |
#define FP_TRAPPING_EXCEPTIONS 0 |
#define FP_UNSET_EXCEPTION |
( |
|
ex | ) |
_fex &= ~(ex) |