1 | /* Offsets for data table for function exp. |
2 | Copyright (C) 2014-2023 Free Software Foundation, Inc. |
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 |
16 | License along with the GNU C Library; if not, see |
17 | <https://www.gnu.org/licenses/>. */ |
18 | |
19 | #ifndef D_EXP_DATA_H |
20 | #define D_EXP_DATA_H |
21 | |
22 | #define __dbT 0 |
23 | #define __dbInvLn2 8192 |
24 | #define __dbShifter 8256 |
25 | #define __dbLn2hi 8320 |
26 | #define __dbLn2lo 8384 |
27 | #define __dPC0 8448 |
28 | #define __dPC1 8512 |
29 | #define __dPC2 8576 |
30 | #define __lIndexMask 8640 |
31 | #define __iAbsMask 8704 |
32 | #define __iDomainRange 8768 |
33 | |
34 | .macro double_vector offset value |
35 | .if .-__svml_dexp_data != \offset |
36 | .err |
37 | .endif |
38 | .rept 8 |
39 | .quad \value |
40 | .endr |
41 | .endm |
42 | |
43 | .macro float_vector offset value |
44 | .if .-__svml_dexp_data != \offset |
45 | .err |
46 | .endif |
47 | .rept 16 |
48 | .long \value |
49 | .endr |
50 | .endm |
51 | |
52 | #endif |
53 | |