]>
Commit | Line | Data |
---|---|---|
10fdbe1a | 1 | /* Constants for fenv_bits.h (soft float edition). |
dff8da6b | 2 | Copyright (C) 2002-2024 Free Software Foundation, Inc. |
10fdbe1a RM |
3 | This file is part of the GNU C Library. |
4 | ||
5 | The GNU C Library is free software; you can redistribute it and/or | |
6 | modify it under the terms of the GNU Lesser General Public | |
7 | License as published by the Free Software Foundation; either | |
8 | version 2.1 of the License, or (at your option) any later version. | |
9 | ||
10 | The GNU C Library is distributed in the hope that it will be useful, | |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | Lesser General Public License for more details. | |
14 | ||
15 | You should have received a copy of the GNU Lesser General Public | |
ab84e3ff | 16 | License along with the GNU C Library. If not, see |
5a82c748 | 17 | <https://www.gnu.org/licenses/>. */ |
10fdbe1a | 18 | |
5556231d | 19 | /* We want to specify the bit pattern of the __fe_*_env constants, so |
10fdbe1a RM |
20 | pretend they're really `long long' instead of `double'. */ |
21 | ||
22 | /* If the default argument is used we use this value. Disable all | |
23 | signalling exceptions as default. */ | |
5556231d | 24 | const unsigned long long __fe_dfl_env __attribute__ ((aligned (8))) = |
10fdbe1a RM |
25 | 0x000000003e000000ULL; |
26 | ||
ec94343f JM |
27 | /* The same representation is used for femode_t. */ |
28 | extern const unsigned long long __fe_dfl_mode | |
29 | __attribute__ ((aligned (8), alias ("__fe_dfl_env"))); | |
30 | ||
10fdbe1a | 31 | /* Floating-point environment where none of the exceptions are masked. */ |
5556231d | 32 | const unsigned long long __fe_enabled_env __attribute__ ((aligned (8))) = |
898c62f4 | 33 | 0x0000000000000000ULL; |
10fdbe1a | 34 | |
898c62f4 JM |
35 | /* Floating-point environment with the NI bit set. No difference for |
36 | soft float from the default environment. */ | |
37 | strong_alias (__fe_dfl_env, __fe_nonieee_env) |