mirror of
git://git.musl-libc.org/musl
synced 2025-01-23 15:13:43 +00:00
522bd54eda
Author: Xiaojuan Zhai <zhaixiaojuan@loongson.cn> Author: Meidan Li <limeidan@loongson.cn> Author: Guoqi Chen <chenguoqi@loongson.cn> Author: Xiaolin Zhao <zhaoxiaolin@loongson.cn> Author: Fan peng <fanpeng@loongson.cn> Author: Jiantao Shan <shanjiantao@loongson.cn> Author: Xuhui Qiang <qiangxuhui@loongson.cn> Author: Jingyun Hua <huajingyun@loongson.cn> Author: Liu xue <liuxue@loongson.cn> Author: Hongliang Wang <wanghongliang@loongson.cn>
21 lines
415 B
C
21 lines
415 B
C
#define FE_INEXACT 0x010000
|
|
#define FE_UNDERFLOW 0x020000
|
|
#define FE_OVERFLOW 0x040000
|
|
#define FE_DIVBYZERO 0x080000
|
|
#define FE_INVALID 0x100000
|
|
|
|
#define FE_ALL_EXCEPT 0x1F0000
|
|
|
|
#define FE_TONEAREST 0x000
|
|
#define FE_TOWARDZERO 0x100
|
|
#define FE_UPWARD 0x200
|
|
#define FE_DOWNWARD 0x300
|
|
|
|
typedef unsigned fexcept_t;
|
|
|
|
typedef struct {
|
|
unsigned __cw;
|
|
} fenv_t;
|
|
|
|
#define FE_DFL_ENV ((const fenv_t *) -1)
|