fix regression from a745c4bfc8a9b5db4e48387170da0dc1d39e3abe
[uclibc-ng.git] / libm / nds32 / fenv_libc.h
bloba76f131e411990703cef8c59a1e52cb627970fa0
1 /*
2 * Copyright (C) 2016-2017 Andes Technology, Inc.
3 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
4 */
6 /* Copyright (C) 2000-2013 Free Software Foundation, Inc.
7 Contributed by Alexandre Oliva <aoliva@redhat.com>
8 based on the corresponding file in the mips port.
10 The GNU C Library is free software; you can redistribute it and/or
11 modify it under the terms of the GNU Lesser General Public
12 License as published by the Free Software Foundation; either
13 version 2.1 of the License, or (at your option) any later version.
15 The GNU C Library is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 Lesser General Public License for more details.
20 You should have received a copy of the GNU Lesser General Public
21 License along with the GNU C Library. If not, see
22 <http://www.gnu.org/licenses/>. */
24 #ifndef _FENV_LIBC_H
25 #define _FENV_LIBC_H
27 /* Mask for enabling exceptions and for the CAUSE bits. */
28 #define ENABLE_MASK 0x00F80U
30 /* Shift for FE_* flags to get up to the ENABLE bits. */
31 #define ENABLE_SHIFT 5
33 #endif /* _FENV_LIBC_H */