1 /*
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright © 2020 Keith Packard
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 *
10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 *
13 * 2. Redistributions in binary form must reproduce the above
14 * copyright notice, this list of conditions and the following
15 * disclaimer in the documentation and/or other materials provided
16 * with the distribution.
17 *
18 * 3. Neither the name of the copyright holder nor the names of its
19 * contributors may be used to endorse or promote products derived
20 * from this software without specific prior written permission.
21 *
22 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
25 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
26 * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
27 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
29 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
31 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
33 * OF THE POSSIBILITY OF SUCH DAMAGE.
34 */
35
36 #define makelname(s) scat(s,l)
37
38 volatile FLOAT_T makemathname(zero) = (FLOAT_T) 0.0;
39 volatile FLOAT_T makemathname(negzero) = (FLOAT_T) -0.0;
40 volatile FLOAT_T makemathname(one) = (FLOAT_T) 1.0;
41 volatile FLOAT_T makemathname(two) = (FLOAT_T) 2.0;
42 volatile FLOAT_T makemathname(three) = (FLOAT_T) 3.0;
43 volatile FLOAT_T makemathname(half) = (FLOAT_T) 0.5;
44 volatile FLOAT_T makemathname(big) = BIG;
45 volatile FLOAT_T makemathname(bigodd) = BIGODD;
46 volatile FLOAT_T makemathname(bigeven) = BIGEVEN;
47 volatile FLOAT_T makemathname(small) = SMALL;
48 volatile FLOAT_T makemathname(infval) = (FLOAT_T) INFINITY;
49 volatile FLOAT_T makemathname(minfval) = (FLOAT_T) -INFINITY;
50 volatile FLOAT_T makemathname(qnanval) = (FLOAT_T) NAN;
51 volatile FLOAT_T makemathname(snanval) = (FLOAT_T) sNAN;
52 volatile FLOAT_T makemathname(pio2) = (FLOAT_T) (PI_VAL/(FLOAT_T)2.0);
53 volatile FLOAT_T makemathname(min_val) = (FLOAT_T) MIN_VAL;
54 volatile FLOAT_T makemathname(max_val) = (FLOAT_T) MAX_VAL;
55
56 FLOAT_T makemathname(scalb)(FLOAT_T, FLOAT_T);
57
58 #define cat2(a,b) a ## b
59 #define str(a) #a
60 #define TEST(n,v,ex,er) { .func = makemathname(cat2(test_, n)), .name = str(n), .value = (v), .except = (ex), .errno_expect = (er) }
61
62 static int _signgam;
63
64 #ifndef SIMPLE_MATH_ONLY
makemathname(test_acos_2)65 FLOAT_T makemathname(test_acos_2)(void) { return makemathname(acos)(makemathname(two)); }
makemathname(test_acos_qnan)66 FLOAT_T makemathname(test_acos_qnan)(void) { return makemathname(acos)(makemathname(qnanval)); }
makemathname(test_acos_snan)67 FLOAT_T makemathname(test_acos_snan)(void) { return makemathname(acos)(makemathname(snanval)); }
makemathname(test_acos_inf)68 FLOAT_T makemathname(test_acos_inf)(void) { return makemathname(acos)(makemathname(infval)); }
makemathname(test_acos_minf)69 FLOAT_T makemathname(test_acos_minf)(void) { return makemathname(acos)(makemathname(minfval)); }
70
makemathname(test_acosh_half)71 FLOAT_T makemathname(test_acosh_half)(void) { return makemathname(acosh)(makemathname(one)/makemathname(two)); }
makemathname(test_acosh_qnan)72 FLOAT_T makemathname(test_acosh_qnan)(void) { return makemathname(acosh)(makemathname(qnanval)); }
makemathname(test_acosh_snan)73 FLOAT_T makemathname(test_acosh_snan)(void) { return makemathname(acosh)(makemathname(snanval)); }
makemathname(test_acosh_inf)74 FLOAT_T makemathname(test_acosh_inf)(void) { return makemathname(acosh)(makemathname(infval)); }
makemathname(test_acosh_minf)75 FLOAT_T makemathname(test_acosh_minf)(void) { return makemathname(acosh)(makemathname(minfval)); }
76
makemathname(test_asin_2)77 FLOAT_T makemathname(test_asin_2)(void) { return makemathname(asin)(makemathname(two)); }
makemathname(test_asin_qnan)78 FLOAT_T makemathname(test_asin_qnan)(void) { return makemathname(asin)(makemathname(qnanval)); }
makemathname(test_asin_snan)79 FLOAT_T makemathname(test_asin_snan)(void) { return makemathname(asin)(makemathname(snanval)); }
makemathname(test_asin_inf)80 FLOAT_T makemathname(test_asin_inf)(void) { return makemathname(asin)(makemathname(infval)); }
makemathname(test_asin_minf)81 FLOAT_T makemathname(test_asin_minf)(void) { return makemathname(asin)(makemathname(minfval)); }
82
makemathname(test_asinh_0)83 FLOAT_T makemathname(test_asinh_0)(void) { return makemathname(asinh)(makemathname(zero)); }
makemathname(test_asinh_neg0)84 FLOAT_T makemathname(test_asinh_neg0)(void) { return makemathname(asinh)(makemathname(negzero)); }
makemathname(test_asinh_qnan)85 FLOAT_T makemathname(test_asinh_qnan)(void) { return makemathname(asinh)(makemathname(qnanval)); }
makemathname(test_asinh_snan)86 FLOAT_T makemathname(test_asinh_snan)(void) { return makemathname(asinh)(makemathname(snanval)); }
makemathname(test_asinh_inf)87 FLOAT_T makemathname(test_asinh_inf)(void) { return makemathname(asinh)(makemathname(infval)); }
makemathname(test_asinh_minf)88 FLOAT_T makemathname(test_asinh_minf)(void) { return makemathname(asinh)(makemathname(minfval)); }
89
makemathname(test_atan2_qnanx)90 FLOAT_T makemathname(test_atan2_qnanx)(void) { return makemathname(atan2)(makemathname(one), makemathname(qnanval)); }
makemathname(test_atan2_qnany)91 FLOAT_T makemathname(test_atan2_qnany)(void) { return makemathname(atan2)(makemathname(qnanval), makemathname(one)); }
makemathname(test_atan2_snanx)92 FLOAT_T makemathname(test_atan2_snanx)(void) { return makemathname(atan2)(makemathname(one), makemathname(snanval)); }
makemathname(test_atan2_snany)93 FLOAT_T makemathname(test_atan2_snany)(void) { return makemathname(atan2)(makemathname(snanval), makemathname(one)); }
makemathname(test_atan2_tiny)94 FLOAT_T makemathname(test_atan2_tiny)(void) { return makemathname(atan2)(makemathname(min_val), makemathname(max_val)); }
makemathname(test_atan2_nottiny)95 FLOAT_T makemathname(test_atan2_nottiny)(void) { return makemathname(atan2)(makemathname(min_val), (FLOAT_T) -0x8p-20); }
96
makemathname(test_atanh_qnan)97 FLOAT_T makemathname(test_atanh_qnan)(void) { return makemathname(atanh)(makemathname(qnanval)); }
makemathname(test_atanh_snan)98 FLOAT_T makemathname(test_atanh_snan)(void) { return makemathname(atanh)(makemathname(snanval)); }
makemathname(test_atanh_1)99 FLOAT_T makemathname(test_atanh_1)(void) { return makemathname(atanh)(makemathname(one)); }
makemathname(test_atanh_neg1)100 FLOAT_T makemathname(test_atanh_neg1)(void) { return makemathname(atanh)(-makemathname(one)); }
makemathname(test_atanh_2)101 FLOAT_T makemathname(test_atanh_2)(void) { return makemathname(atanh)(makemathname(two)); }
makemathname(test_atanh_neg2)102 FLOAT_T makemathname(test_atanh_neg2)(void) { return makemathname(atanh)(-makemathname(two)); }
103
makemathname(test_cbrt_0)104 FLOAT_T makemathname(test_cbrt_0)(void) { return makemathname(cbrt)(makemathname(zero)); }
makemathname(test_cbrt_neg0)105 FLOAT_T makemathname(test_cbrt_neg0)(void) { return makemathname(cbrt)(-makemathname(zero)); }
makemathname(test_cbrt_inf)106 FLOAT_T makemathname(test_cbrt_inf)(void) { return makemathname(cbrt)(makemathname(infval)); }
makemathname(test_cbrt_neginf)107 FLOAT_T makemathname(test_cbrt_neginf)(void) { return makemathname(cbrt)(-makemathname(infval)); }
makemathname(test_cbrt_qnan)108 FLOAT_T makemathname(test_cbrt_qnan)(void) { return makemathname(cbrt)(makemathname(qnanval)); }
makemathname(test_cbrt_snan)109 FLOAT_T makemathname(test_cbrt_snan)(void) { return makemathname(cbrt)(makemathname(snanval)); }
110
makemathname(test_cos_inf)111 FLOAT_T makemathname(test_cos_inf)(void) { return makemathname(cos)(makemathname(infval)); }
makemathname(test_cos_qnan)112 FLOAT_T makemathname(test_cos_qnan)(void) { return makemathname(cos)(makemathname(qnanval)); }
makemathname(test_cos_snan)113 FLOAT_T makemathname(test_cos_snan)(void) { return makemathname(cos)(makemathname(snanval)); }
makemathname(test_cos_0)114 FLOAT_T makemathname(test_cos_0)(void) { return makemathname(cos)(makemathname(zero)); }
115
makemathname(test_cosh_big)116 FLOAT_T makemathname(test_cosh_big)(void) { return makemathname(cosh)(makemathname(big)); }
makemathname(test_cosh_negbig)117 FLOAT_T makemathname(test_cosh_negbig)(void) { return makemathname(cosh)(makemathname(big)); }
makemathname(test_cosh_inf)118 FLOAT_T makemathname(test_cosh_inf)(void) { return makemathname(cosh)(makemathname(infval)); }
makemathname(test_cosh_qnan)119 FLOAT_T makemathname(test_cosh_qnan)(void) { return makemathname(cosh)(makemathname(qnanval)); }
makemathname(test_cosh_snan)120 FLOAT_T makemathname(test_cosh_snan)(void) { return makemathname(cosh)(makemathname(snanval)); }
121
makemathname(test_drem_0)122 FLOAT_T makemathname(test_drem_0)(void) { return makemathname(drem)(makemathname(two), makemathname(zero)); }
makemathname(test_drem_qnan_1)123 FLOAT_T makemathname(test_drem_qnan_1)(void) { return makemathname(drem)(makemathname(qnanval), makemathname(one)); }
makemathname(test_drem_1_qnan)124 FLOAT_T makemathname(test_drem_1_qnan)(void) { return makemathname(drem)(makemathname(one), makemathname(qnanval)); }
makemathname(test_drem_snan_1)125 FLOAT_T makemathname(test_drem_snan_1)(void) { return makemathname(drem)(makemathname(snanval), makemathname(one)); }
makemathname(test_drem_1_snan)126 FLOAT_T makemathname(test_drem_1_snan)(void) { return makemathname(drem)(makemathname(one), makemathname(snanval)); }
makemathname(test_drem_inf_2)127 FLOAT_T makemathname(test_drem_inf_2)(void) { return makemathname(drem)(makemathname(infval), makemathname(two)); }
makemathname(test_drem_inf_0)128 FLOAT_T makemathname(test_drem_inf_0)(void) { return makemathname(drem)(makemathname(infval), makemathname(zero)); }
makemathname(test_drem_2_0)129 FLOAT_T makemathname(test_drem_2_0)(void) { return makemathname(drem)(makemathname(two), makemathname(zero)); }
makemathname(test_drem_1_2)130 FLOAT_T makemathname(test_drem_1_2)(void) { return makemathname(drem)(makemathname(one), makemathname(two)); }
makemathname(test_drem_neg1_2)131 FLOAT_T makemathname(test_drem_neg1_2)(void) { return makemathname(drem)(-makemathname(one), makemathname(two)); }
132
makemathname(test_erf_qnan)133 FLOAT_T makemathname(test_erf_qnan)(void) { return makemathname(erf)(makemathname(qnanval)); }
makemathname(test_erf_snan)134 FLOAT_T makemathname(test_erf_snan)(void) { return makemathname(erf)(makemathname(snanval)); }
makemathname(test_erf_0)135 FLOAT_T makemathname(test_erf_0)(void) { return makemathname(erf)(makemathname(zero)); }
makemathname(test_erf_neg0)136 FLOAT_T makemathname(test_erf_neg0)(void) { return makemathname(erf)(-makemathname(zero)); }
makemathname(test_erf_inf)137 FLOAT_T makemathname(test_erf_inf)(void) { return makemathname(erf)(makemathname(infval)); }
makemathname(test_erf_neginf)138 FLOAT_T makemathname(test_erf_neginf)(void) { return makemathname(erf)(-makemathname(infval)); }
makemathname(test_erf_small)139 FLOAT_T makemathname(test_erf_small)(void) { return makemathname(erf)(makemathname(small)); }
140
makemathname(test_exp_qnan)141 FLOAT_T makemathname(test_exp_qnan)(void) { return makemathname(exp)(makemathname(qnanval)); }
makemathname(test_exp_snan)142 FLOAT_T makemathname(test_exp_snan)(void) { return makemathname(exp)(makemathname(snanval)); }
makemathname(test_exp_inf)143 FLOAT_T makemathname(test_exp_inf)(void) { return makemathname(exp)(makemathname(infval)); }
makemathname(test_exp_neginf)144 FLOAT_T makemathname(test_exp_neginf)(void) { return makemathname(exp)(-makemathname(infval)); }
makemathname(test_exp_big)145 FLOAT_T makemathname(test_exp_big)(void) { return makemathname(exp)(makemathname(big)); }
makemathname(test_exp_negbig)146 FLOAT_T makemathname(test_exp_negbig)(void) { return makemathname(exp)(-makemathname(big)); }
147
makemathname(test_exp2_qnan)148 FLOAT_T makemathname(test_exp2_qnan)(void) { return makemathname(exp2)(makemathname(qnanval)); }
makemathname(test_exp2_snan)149 FLOAT_T makemathname(test_exp2_snan)(void) { return makemathname(exp2)(makemathname(snanval)); }
makemathname(test_exp2_inf)150 FLOAT_T makemathname(test_exp2_inf)(void) { return makemathname(exp2)(makemathname(infval)); }
makemathname(test_exp2_neginf)151 FLOAT_T makemathname(test_exp2_neginf)(void) { return makemathname(exp2)(-makemathname(infval)); }
makemathname(test_exp2_big)152 FLOAT_T makemathname(test_exp2_big)(void) { return makemathname(exp2)(makemathname(big)); }
makemathname(test_exp2_negbig)153 FLOAT_T makemathname(test_exp2_negbig)(void) { return makemathname(exp2)(-makemathname(big)); }
154
makemathname(test_exp10_qnan)155 FLOAT_T makemathname(test_exp10_qnan)(void) { return makemathname(exp10)(makemathname(qnanval)); }
makemathname(test_exp10_snan)156 FLOAT_T makemathname(test_exp10_snan)(void) { return makemathname(exp10)(makemathname(snanval)); }
makemathname(test_exp10_inf)157 FLOAT_T makemathname(test_exp10_inf)(void) { return makemathname(exp10)(makemathname(infval)); }
makemathname(test_exp10_neginf)158 FLOAT_T makemathname(test_exp10_neginf)(void) { return makemathname(exp10)(-makemathname(infval)); }
makemathname(test_exp10_big)159 FLOAT_T makemathname(test_exp10_big)(void) { return makemathname(exp10)(makemathname(big)); }
makemathname(test_exp10_negbig)160 FLOAT_T makemathname(test_exp10_negbig)(void) { return makemathname(exp10)(-makemathname(big)); }
161
makemathname(test_expm1_qnan)162 FLOAT_T makemathname(test_expm1_qnan)(void) { return makemathname(expm1)(makemathname(qnanval)); }
makemathname(test_expm1_snan)163 FLOAT_T makemathname(test_expm1_snan)(void) { return makemathname(expm1)(makemathname(snanval)); }
makemathname(test_expm1_0)164 FLOAT_T makemathname(test_expm1_0)(void) { return makemathname(expm1)(makemathname(zero)); }
makemathname(test_expm1_neg0)165 FLOAT_T makemathname(test_expm1_neg0)(void) { return makemathname(expm1)(-makemathname(zero)); }
makemathname(test_expm1_inf)166 FLOAT_T makemathname(test_expm1_inf)(void) { return makemathname(expm1)(makemathname(infval)); }
makemathname(test_expm1_neginf)167 FLOAT_T makemathname(test_expm1_neginf)(void) { return makemathname(expm1)(-makemathname(infval)); }
makemathname(test_expm1_big)168 FLOAT_T makemathname(test_expm1_big)(void) { return makemathname(expm1)(makemathname(big)); }
makemathname(test_expm1_negbig)169 FLOAT_T makemathname(test_expm1_negbig)(void) { return makemathname(expm1)(-makemathname(big)); }
170
171 #endif /* SIMPLE_MATH_ONLY */
172
makemathname(test_fabs_qnan)173 FLOAT_T makemathname(test_fabs_qnan)(void) { return makemathname(fabs)(makemathname(qnanval)); }
makemathname(test_fabs_snan)174 FLOAT_T makemathname(test_fabs_snan)(void) { return makemathname(fabs)(makemathname(snanval)); }
makemathname(test_fabs_0)175 FLOAT_T makemathname(test_fabs_0)(void) { return makemathname(fabs)(makemathname(zero)); }
makemathname(test_fabs_neg0)176 FLOAT_T makemathname(test_fabs_neg0)(void) { return makemathname(fabs)(-makemathname(zero)); }
makemathname(test_fabs_inf)177 FLOAT_T makemathname(test_fabs_inf)(void) { return makemathname(fabs)(makemathname(infval)); }
makemathname(test_fabs_neginf)178 FLOAT_T makemathname(test_fabs_neginf)(void) { return makemathname(fabs)(-makemathname(infval)); }
179
180 #ifndef SIMPLE_MATH_ONLY
181
makemathname(test_fdim_qnan_1)182 FLOAT_T makemathname(test_fdim_qnan_1)(void) { return makemathname(fdim)(makemathname(qnanval), makemathname(one)); }
makemathname(test_fdim_1_qnan)183 FLOAT_T makemathname(test_fdim_1_qnan)(void) { return makemathname(fdim)(makemathname(one), makemathname(qnanval)); }
makemathname(test_fdim_snan_1)184 FLOAT_T makemathname(test_fdim_snan_1)(void) { return makemathname(fdim)(makemathname(snanval), makemathname(one)); }
makemathname(test_fdim_1_snan)185 FLOAT_T makemathname(test_fdim_1_snan)(void) { return makemathname(fdim)(makemathname(one), makemathname(snanval)); }
makemathname(test_fdim_inf_1)186 FLOAT_T makemathname(test_fdim_inf_1)(void) { return makemathname(fdim)(makemathname(infval), makemathname(one)); }
makemathname(test_fdim_1_inf)187 FLOAT_T makemathname(test_fdim_1_inf)(void) { return makemathname(fdim)(makemathname(one), makemathname(infval)); }
makemathname(test_fdim_big_negbig)188 FLOAT_T makemathname(test_fdim_big_negbig)(void) { return makemathname(fdim)(makemathname(big), -makemathname(big)); }
189
190 #endif
191
makemathname(test_floor_1)192 FLOAT_T makemathname(test_floor_1)(void) { return makemathname(floor)(makemathname(one)); }
makemathname(test_floor_0)193 FLOAT_T makemathname(test_floor_0)(void) { return makemathname(floor)(makemathname(zero)); }
makemathname(test_floor_neg0)194 FLOAT_T makemathname(test_floor_neg0)(void) { return makemathname(floor)(-makemathname(zero)); }
makemathname(test_floor_qnan)195 FLOAT_T makemathname(test_floor_qnan)(void) { return makemathname(floor)(makemathname(qnanval)); }
makemathname(test_floor_snan)196 FLOAT_T makemathname(test_floor_snan)(void) { return makemathname(floor)(makemathname(snanval)); }
makemathname(test_floor_inf)197 FLOAT_T makemathname(test_floor_inf)(void) { return makemathname(floor)(makemathname(infval)); }
makemathname(test_floor_neginf)198 FLOAT_T makemathname(test_floor_neginf)(void) { return makemathname(floor)(-makemathname(infval)); }
199
200 #ifndef SIMPLE_MATH_ONLY
201
makemathname(test_fma_big_big_1)202 FLOAT_T makemathname(test_fma_big_big_1)(void) { return makemathname(fma)(makemathname(big), makemathname(big), makemathname(one)); }
makemathname(test_fma_big_negbig_1)203 FLOAT_T makemathname(test_fma_big_negbig_1)(void) { return makemathname(fma)(makemathname(big), -makemathname(big), makemathname(one)); }
makemathname(test_fma_small_small_1)204 FLOAT_T makemathname(test_fma_small_small_1)(void) { return makemathname(fma)(makemathname(small), makemathname(small), makemathname(one)); }
makemathname(test_fma_small_negsmall_1)205 FLOAT_T makemathname(test_fma_small_negsmall_1)(void) { return makemathname(fma)(makemathname(small), -makemathname(small), makemathname(one)); }
makemathname(test_fma_small_small_0)206 FLOAT_T makemathname(test_fma_small_small_0)(void) { return makemathname(fma)(makemathname(small), makemathname(small), makemathname(zero)); }
makemathname(test_fma_small_negsmall_0)207 FLOAT_T makemathname(test_fma_small_negsmall_0)(void) { return makemathname(fma)(makemathname(small), -makemathname(small), makemathname(zero)); }
makemathname(test_fma_qnan_1_1)208 FLOAT_T makemathname(test_fma_qnan_1_1)(void) { return makemathname(fma)(makemathname(qnanval), makemathname(one), makemathname(one)); }
makemathname(test_fma_1_qnan_1)209 FLOAT_T makemathname(test_fma_1_qnan_1)(void) { return makemathname(fma)(makemathname(one), makemathname(qnanval), makemathname(one)); }
makemathname(test_fma_1_1_qnan)210 FLOAT_T makemathname(test_fma_1_1_qnan)(void) { return makemathname(fma)(makemathname(one), makemathname(one), makemathname(qnanval)); }
makemathname(test_fma_snan_1_1)211 FLOAT_T makemathname(test_fma_snan_1_1)(void) { return makemathname(fma)(makemathname(snanval), makemathname(one), makemathname(one)); }
makemathname(test_fma_1_snan_1)212 FLOAT_T makemathname(test_fma_1_snan_1)(void) { return makemathname(fma)(makemathname(one), makemathname(snanval), makemathname(one)); }
makemathname(test_fma_1_1_snan)213 FLOAT_T makemathname(test_fma_1_1_snan)(void) { return makemathname(fma)(makemathname(one), makemathname(one), makemathname(snanval)); }
makemathname(test_fma_inf_1_neginf)214 FLOAT_T makemathname(test_fma_inf_1_neginf)(void) { return makemathname(fma)(makemathname(infval), makemathname(one), -makemathname(infval)); }
makemathname(test_fma_1_inf_neginf)215 FLOAT_T makemathname(test_fma_1_inf_neginf)(void) { return makemathname(fma)(makemathname(one), makemathname(infval), -makemathname(infval)); }
makemathname(test_fma_neginf_1_inf)216 FLOAT_T makemathname(test_fma_neginf_1_inf)(void) { return makemathname(fma)(makemathname(one), -makemathname(infval), makemathname(infval)); }
makemathname(test_fma_1_neginf_inf)217 FLOAT_T makemathname(test_fma_1_neginf_inf)(void) { return makemathname(fma)(-makemathname(infval), makemathname(one), makemathname(infval)); }
makemathname(test_fma_inf_0_1)218 FLOAT_T makemathname(test_fma_inf_0_1)(void) { return makemathname(fma)(makemathname(infval), makemathname(zero), makemathname(one)); }
makemathname(test_fma_0_inf_1)219 FLOAT_T makemathname(test_fma_0_inf_1)(void) { return makemathname(fma)(makemathname(zero), makemathname(infval), makemathname(one)); }
makemathname(test_fma_inf_0_qnan)220 FLOAT_T makemathname(test_fma_inf_0_qnan)(void) { return makemathname(fma)(makemathname(infval), makemathname(zero), makemathname(qnanval)); }
makemathname(test_fma_0_inf_qnan)221 FLOAT_T makemathname(test_fma_0_inf_qnan)(void) { return makemathname(fma)(makemathname(zero), makemathname(infval), makemathname(qnanval)); }
makemathname(test_fma_inf_0_snan)222 FLOAT_T makemathname(test_fma_inf_0_snan)(void) { return makemathname(fma)(makemathname(infval), makemathname(zero), makemathname(snanval)); }
makemathname(test_fma_0_inf_snan)223 FLOAT_T makemathname(test_fma_0_inf_snan)(void) { return makemathname(fma)(makemathname(zero), makemathname(infval), makemathname(snanval)); }
224
225 #endif
226
makemathname(test_fmax_qnan_qnan)227 FLOAT_T makemathname(test_fmax_qnan_qnan)(void) { return makemathname(fmax)(makemathname(qnanval), makemathname(qnanval)); }
makemathname(test_fmax_qnan_1)228 FLOAT_T makemathname(test_fmax_qnan_1)(void) { return makemathname(fmax)(makemathname(qnanval), makemathname(one)); }
makemathname(test_fmax_1_qnan)229 FLOAT_T makemathname(test_fmax_1_qnan)(void) { return makemathname(fmax)(makemathname(one), makemathname(qnanval)); }
makemathname(test_fmax_snan_snan)230 FLOAT_T makemathname(test_fmax_snan_snan)(void) { return makemathname(fmax)(makemathname(snanval), makemathname(snanval)); }
makemathname(test_fmax_snan_1)231 FLOAT_T makemathname(test_fmax_snan_1)(void) { return makemathname(fmax)(makemathname(snanval), makemathname(one)); }
makemathname(test_fmax_1_snan)232 FLOAT_T makemathname(test_fmax_1_snan)(void) { return makemathname(fmax)(makemathname(one), makemathname(snanval)); }
233
makemathname(test_fmin_qnan_qnan)234 FLOAT_T makemathname(test_fmin_qnan_qnan)(void) { return makemathname(fmin)(makemathname(qnanval), makemathname(qnanval)); }
makemathname(test_fmin_qnan_1)235 FLOAT_T makemathname(test_fmin_qnan_1)(void) { return makemathname(fmin)(makemathname(qnanval), makemathname(one)); }
makemathname(test_fmin_1_qnan)236 FLOAT_T makemathname(test_fmin_1_qnan)(void) { return makemathname(fmin)(makemathname(one), makemathname(qnanval)); }
makemathname(test_fmin_snan_snan)237 FLOAT_T makemathname(test_fmin_snan_snan)(void) { return makemathname(fmin)(makemathname(snanval), makemathname(snanval)); }
makemathname(test_fmin_snan_1)238 FLOAT_T makemathname(test_fmin_snan_1)(void) { return makemathname(fmin)(makemathname(snanval), makemathname(one)); }
makemathname(test_fmin_1_snan)239 FLOAT_T makemathname(test_fmin_1_snan)(void) { return makemathname(fmin)(makemathname(one), makemathname(snanval)); }
240
241 #ifndef SIMPLE_MATH_ONLY
242
makemathname(test_fmod_qnan_1)243 FLOAT_T makemathname(test_fmod_qnan_1)(void) { return makemathname(fmod)(makemathname(qnanval), makemathname(one)); }
makemathname(test_fmod_1_qnan)244 FLOAT_T makemathname(test_fmod_1_qnan)(void) { return makemathname(fmod)(makemathname(one), makemathname(qnanval)); }
makemathname(test_fmod_snan_1)245 FLOAT_T makemathname(test_fmod_snan_1)(void) { return makemathname(fmod)(makemathname(snanval), makemathname(one)); }
makemathname(test_fmod_1_snan)246 FLOAT_T makemathname(test_fmod_1_snan)(void) { return makemathname(fmod)(makemathname(one), makemathname(snanval)); }
makemathname(test_fmod_inf_1)247 FLOAT_T makemathname(test_fmod_inf_1)(void) { return makemathname(fmod)(makemathname(infval), makemathname(one)); }
makemathname(test_fmod_neginf_1)248 FLOAT_T makemathname(test_fmod_neginf_1)(void) { return makemathname(fmod)(-makemathname(infval), makemathname(one)); }
makemathname(test_fmod_1_0)249 FLOAT_T makemathname(test_fmod_1_0)(void) { return makemathname(fmod)(makemathname(one), makemathname(zero)); }
makemathname(test_fmod_0_1)250 FLOAT_T makemathname(test_fmod_0_1)(void) { return makemathname(fmod)(makemathname(zero), makemathname(one)); }
makemathname(test_fmod_neg0_1)251 FLOAT_T makemathname(test_fmod_neg0_1)(void) { return makemathname(fmod)(-makemathname(zero), makemathname(one)); }
252
253 #endif
254
makemathname(test_hypot_big)255 FLOAT_T makemathname(test_hypot_big)(void) { return makemathname(hypot)(makemathname(big), makemathname(big)); }
makemathname(test_hypot_1_qnan)256 FLOAT_T makemathname(test_hypot_1_qnan)(void) { return makemathname(hypot)(makemathname(one), makemathname(qnanval)); }
makemathname(test_hypot_qnan_1)257 FLOAT_T makemathname(test_hypot_qnan_1)(void) { return makemathname(hypot)(makemathname(qnanval), makemathname(one)); }
makemathname(test_hypot_inf_qnan)258 FLOAT_T makemathname(test_hypot_inf_qnan)(void) { return makemathname(hypot)(makemathname(infval), makemathname(qnanval)); }
makemathname(test_hypot_neginf_qnan)259 FLOAT_T makemathname(test_hypot_neginf_qnan)(void) { return makemathname(hypot)(-makemathname(infval), makemathname(qnanval)); }
makemathname(test_hypot_qnan_inf)260 FLOAT_T makemathname(test_hypot_qnan_inf)(void) { return makemathname(hypot)(makemathname(qnanval), makemathname(infval)); }
makemathname(test_hypot_qnan_neginf)261 FLOAT_T makemathname(test_hypot_qnan_neginf)(void) { return makemathname(hypot)(makemathname(qnanval), -makemathname(infval)); }
makemathname(test_hypot_snan_inf)262 FLOAT_T makemathname(test_hypot_snan_inf)(void) { return makemathname(hypot)(makemathname(snanval), makemathname(infval)); }
makemathname(test_hypot_snan_neginf)263 FLOAT_T makemathname(test_hypot_snan_neginf)(void) { return makemathname(hypot)(makemathname(snanval), -makemathname(infval)); }
makemathname(test_hypot_1_inf)264 FLOAT_T makemathname(test_hypot_1_inf)(void) { return makemathname(hypot)(makemathname(one), makemathname(infval)); }
makemathname(test_hypot_1_neginf)265 FLOAT_T makemathname(test_hypot_1_neginf)(void) { return makemathname(hypot)(makemathname(one), -makemathname(infval)); }
makemathname(test_hypot_inf_1)266 FLOAT_T makemathname(test_hypot_inf_1)(void) { return makemathname(hypot)(makemathname(infval), makemathname(one)); }
makemathname(test_hypot_neginf_1)267 FLOAT_T makemathname(test_hypot_neginf_1)(void) { return makemathname(hypot)(-makemathname(infval), makemathname(one)); }
268
makemathname(test_ilogb_0)269 long makemathname(test_ilogb_0)(void) { return makemathname(ilogb)(makemathname(zero)); }
makemathname(test_ilogb_qnan)270 long makemathname(test_ilogb_qnan)(void) { return makemathname(ilogb)(makemathname(qnanval)); }
makemathname(test_ilogb_snan)271 long makemathname(test_ilogb_snan)(void) { return makemathname(ilogb)(makemathname(snanval)); }
makemathname(test_ilogb_inf)272 long makemathname(test_ilogb_inf)(void) { return makemathname(ilogb)(makemathname(infval)); }
makemathname(test_ilogb_neginf)273 long makemathname(test_ilogb_neginf)(void) { return makemathname(ilogb)(-makemathname(infval)); }
274
makemathname(test_fpclassify_snan)275 long makemathname(test_fpclassify_snan)(void) { return fpclassify(makemathname(snanval)); }
makemathname(test_fpclassify_nan)276 long makemathname(test_fpclassify_nan)(void) { return fpclassify(makemathname(qnanval)); }
makemathname(test_fpclassify_inf)277 long makemathname(test_fpclassify_inf)(void) { return fpclassify(makemathname(infval)); }
makemathname(test_fpclassify_neginf)278 long makemathname(test_fpclassify_neginf)(void) { return fpclassify(-makemathname(infval)); }
makemathname(test_fpclassify_zero)279 long makemathname(test_fpclassify_zero)(void) { return fpclassify(makemathname(zero)); }
makemathname(test_fpclassify_negzero)280 long makemathname(test_fpclassify_negzero)(void) { return fpclassify(-makemathname(zero)); }
makemathname(test_fpclassify_small)281 long makemathname(test_fpclassify_small)(void) { return fpclassify(makemathname(small)); }
makemathname(test_fpclassify_negsmall)282 long makemathname(test_fpclassify_negsmall)(void) { return fpclassify(-makemathname(small)); }
makemathname(test_fpclassify_two)283 long makemathname(test_fpclassify_two)(void) { return fpclassify(makemathname(two)); }
makemathname(test_fpclassify_negtwo)284 long makemathname(test_fpclassify_negtwo)(void) { return fpclassify(-makemathname(two)); }
285
makemathname(test_isfinite_snan)286 long makemathname(test_isfinite_snan)(void) { return !!isfinite(makemathname(snanval)); }
makemathname(test_isfinite_nan)287 long makemathname(test_isfinite_nan)(void) { return !!isfinite(makemathname(qnanval)); }
makemathname(test_isfinite_inf)288 long makemathname(test_isfinite_inf)(void) { return !!isfinite(makemathname(infval)); }
makemathname(test_isfinite_neginf)289 long makemathname(test_isfinite_neginf)(void) { return !!isfinite(-makemathname(infval)); }
makemathname(test_isfinite_zero)290 long makemathname(test_isfinite_zero)(void) { return !!isfinite(makemathname(zero)); }
makemathname(test_isfinite_negzero)291 long makemathname(test_isfinite_negzero)(void) { return !!isfinite(-makemathname(zero)); }
makemathname(test_isfinite_small)292 long makemathname(test_isfinite_small)(void) { return !!isfinite(makemathname(small)); }
makemathname(test_isfinite_negsmall)293 long makemathname(test_isfinite_negsmall)(void) { return !!isfinite(-makemathname(small)); }
makemathname(test_isfinite_two)294 long makemathname(test_isfinite_two)(void) { return !!isfinite(makemathname(two)); }
makemathname(test_isfinite_negtwo)295 long makemathname(test_isfinite_negtwo)(void) { return !!isfinite(-makemathname(two)); }
296
makemathname(test_isnormal_snan)297 long makemathname(test_isnormal_snan)(void) { return !!isnormal(makemathname(snanval)); }
makemathname(test_isnormal_nan)298 long makemathname(test_isnormal_nan)(void) { return !!isnormal(makemathname(qnanval)); }
makemathname(test_isnormal_inf)299 long makemathname(test_isnormal_inf)(void) { return !!isnormal(makemathname(infval)); }
makemathname(test_isnormal_neginf)300 long makemathname(test_isnormal_neginf)(void) { return !!isnormal(-makemathname(infval)); }
makemathname(test_isnormal_zero)301 long makemathname(test_isnormal_zero)(void) { return !!isnormal(makemathname(zero)); }
makemathname(test_isnormal_negzero)302 long makemathname(test_isnormal_negzero)(void) { return !!isnormal(-makemathname(zero)); }
makemathname(test_isnormal_small)303 long makemathname(test_isnormal_small)(void) { return !!isnormal(makemathname(small)); }
makemathname(test_isnormal_negsmall)304 long makemathname(test_isnormal_negsmall)(void) { return !!isnormal(-makemathname(small)); }
makemathname(test_isnormal_two)305 long makemathname(test_isnormal_two)(void) { return !!isnormal(makemathname(two)); }
makemathname(test_isnormal_negtwo)306 long makemathname(test_isnormal_negtwo)(void) { return !!isnormal(-makemathname(two)); }
307
makemathname(test_isnan_snan)308 long makemathname(test_isnan_snan)(void) { return !!isnan(makemathname(snanval)); }
makemathname(test_isnan_nan)309 long makemathname(test_isnan_nan)(void) { return !!isnan(makemathname(qnanval)); }
makemathname(test_isnan_inf)310 long makemathname(test_isnan_inf)(void) { return !!isnan(makemathname(infval)); }
makemathname(test_isnan_neginf)311 long makemathname(test_isnan_neginf)(void) { return !!isnan(-makemathname(infval)); }
makemathname(test_isnan_zero)312 long makemathname(test_isnan_zero)(void) { return !!isnan(makemathname(zero)); }
makemathname(test_isnan_negzero)313 long makemathname(test_isnan_negzero)(void) { return !!isnan(-makemathname(zero)); }
makemathname(test_isnan_small)314 long makemathname(test_isnan_small)(void) { return !!isnan(makemathname(small)); }
makemathname(test_isnan_negsmall)315 long makemathname(test_isnan_negsmall)(void) { return !!isnan(-makemathname(small)); }
makemathname(test_isnan_two)316 long makemathname(test_isnan_two)(void) { return !!isnan(makemathname(two)); }
makemathname(test_isnan_negtwo)317 long makemathname(test_isnan_negtwo)(void) { return !!isnan(-makemathname(two)); }
318
makemathname(test_isinf_snan)319 long makemathname(test_isinf_snan)(void) { return !!isinf(makemathname(snanval)); }
makemathname(test_isinf_nan)320 long makemathname(test_isinf_nan)(void) { return !!isinf(makemathname(qnanval)); }
makemathname(test_isinf_inf)321 long makemathname(test_isinf_inf)(void) { return !!isinf(makemathname(infval)); }
makemathname(test_isinf_neginf)322 long makemathname(test_isinf_neginf)(void) { return !!isinf(-makemathname(infval)); }
makemathname(test_isinf_zero)323 long makemathname(test_isinf_zero)(void) { return !!isinf(makemathname(zero)); }
makemathname(test_isinf_negzero)324 long makemathname(test_isinf_negzero)(void) { return !!isinf(-makemathname(zero)); }
makemathname(test_isinf_small)325 long makemathname(test_isinf_small)(void) { return !!isinf(makemathname(small)); }
makemathname(test_isinf_negsmall)326 long makemathname(test_isinf_negsmall)(void) { return !!isinf(-makemathname(small)); }
makemathname(test_isinf_two)327 long makemathname(test_isinf_two)(void) { return !!isinf(makemathname(two)); }
makemathname(test_isinf_negtwo)328 long makemathname(test_isinf_negtwo)(void) { return !!isinf(-makemathname(two)); }
329
330 #ifndef SIMPLE_MATH_ONLY
331
332 #ifndef NO_BESSEL_TESTS
333
makemathname(test_j0_inf)334 FLOAT_T makemathname(test_j0_inf)(void) { return makemathname(j0)(makemathname(infval)); }
makemathname(test_j0_qnan)335 FLOAT_T makemathname(test_j0_qnan)(void) { return makemathname(j0)(makemathname(qnanval)); }
makemathname(test_j0_snan)336 FLOAT_T makemathname(test_j0_snan)(void) { return makemathname(j0)(makemathname(snanval)); }
337
makemathname(test_j1_inf)338 FLOAT_T makemathname(test_j1_inf)(void) { return makemathname(j1)(makemathname(infval)); }
makemathname(test_j1_qnan)339 FLOAT_T makemathname(test_j1_qnan)(void) { return makemathname(j1)(makemathname(qnanval)); }
makemathname(test_j1_snan)340 FLOAT_T makemathname(test_j1_snan)(void) { return makemathname(j1)(makemathname(snanval)); }
341
makemathname(test_jn_inf)342 FLOAT_T makemathname(test_jn_inf)(void) { return makemathname(jn)(3, makemathname(infval)); }
makemathname(test_jn_qnan)343 FLOAT_T makemathname(test_jn_qnan)(void) { return makemathname(jn)(3, makemathname(qnanval)); }
makemathname(test_jn_snan)344 FLOAT_T makemathname(test_jn_snan)(void) { return makemathname(jn)(3, makemathname(snanval)); }
345 #endif
346
347 #endif
348
makemathname(test_ldexp_1_0)349 FLOAT_T makemathname(test_ldexp_1_0)(void) { return makemathname(ldexp)(makemathname(one), 0); }
makemathname(test_ldexp_qnan_0)350 FLOAT_T makemathname(test_ldexp_qnan_0)(void) { return makemathname(ldexp)(makemathname(qnanval), 0); }
makemathname(test_ldexp_snan_0)351 FLOAT_T makemathname(test_ldexp_snan_0)(void) { return makemathname(ldexp)(makemathname(snanval), 0); }
makemathname(test_ldexp_inf_0)352 FLOAT_T makemathname(test_ldexp_inf_0)(void) { return makemathname(ldexp)(makemathname(infval), 0); }
makemathname(test_ldexp_neginf_0)353 FLOAT_T makemathname(test_ldexp_neginf_0)(void) { return makemathname(ldexp)(-makemathname(infval), 0); }
makemathname(test_ldexp_1_negbig)354 FLOAT_T makemathname(test_ldexp_1_negbig)(void) { return makemathname(ldexp)(makemathname(one), -(__DBL_MAX_EXP__ * 100)); }
makemathname(test_ldexp_1_big)355 FLOAT_T makemathname(test_ldexp_1_big)(void) { return makemathname(ldexp)(makemathname(one),(__DBL_MAX_EXP__ * 100)); }
356
makemathname(test_rint_qnan)357 FLOAT_T makemathname(test_rint_qnan)(void) { return makemathname(rint)(makemathname(qnanval)); }
makemathname(test_rint_snan)358 FLOAT_T makemathname(test_rint_snan)(void) { return makemathname(rint)(makemathname(snanval)); }
makemathname(test_rint_inf)359 FLOAT_T makemathname(test_rint_inf)(void) { return makemathname(rint)(makemathname(infval)); }
makemathname(test_rint_neginf)360 FLOAT_T makemathname(test_rint_neginf)(void) { return makemathname(rint)(-makemathname(infval)); }
makemathname(test_rint_big)361 FLOAT_T makemathname(test_rint_big)(void) { return makemathname(rint)(makemathname(big)); }
makemathname(test_rint_negbig)362 FLOAT_T makemathname(test_rint_negbig)(void) { return makemathname(rint)(-makemathname(big)); }
makemathname(test_rint_half)363 FLOAT_T makemathname(test_rint_half)(void) { return makemathname(rint)(makemathname(half)); }
makemathname(test_rint_neghalf)364 FLOAT_T makemathname(test_rint_neghalf)(void) { return makemathname(rint)(makemathname(half)); }
365
makemathname(test_nearbyint_qnan)366 FLOAT_T makemathname(test_nearbyint_qnan)(void) { return makemathname(nearbyint)(makemathname(qnanval)); }
makemathname(test_nearbyint_snan)367 FLOAT_T makemathname(test_nearbyint_snan)(void) { return makemathname(nearbyint)(makemathname(snanval)); }
makemathname(test_nearbyint_inf)368 FLOAT_T makemathname(test_nearbyint_inf)(void) { return makemathname(nearbyint)(makemathname(infval)); }
makemathname(test_nearbyint_neginf)369 FLOAT_T makemathname(test_nearbyint_neginf)(void) { return makemathname(nearbyint)(-makemathname(infval)); }
makemathname(test_nearbyint_big)370 FLOAT_T makemathname(test_nearbyint_big)(void) { return makemathname(nearbyint)(makemathname(big)); }
makemathname(test_nearbyint_negbig)371 FLOAT_T makemathname(test_nearbyint_negbig)(void) { return makemathname(nearbyint)(-makemathname(big)); }
makemathname(test_nearbyint_half)372 FLOAT_T makemathname(test_nearbyint_half)(void) { return makemathname(nearbyint)(makemathname(half)); }
makemathname(test_nearbyint_neghalf)373 FLOAT_T makemathname(test_nearbyint_neghalf)(void) { return makemathname(nearbyint)(makemathname(half)); }
374
makemathname(test_lrint_qnan)375 long makemathname(test_lrint_qnan)(void) { makemathname(lrint)(makemathname(qnanval)); return 0; }
makemathname(test_lrint_snan)376 long makemathname(test_lrint_snan)(void) { makemathname(lrint)(makemathname(snanval)); return 0; }
makemathname(test_lrint_inf)377 long makemathname(test_lrint_inf)(void) { makemathname(lrint)(makemathname(infval)); return 0; }
makemathname(test_lrint_neginf)378 long makemathname(test_lrint_neginf)(void) { makemathname(lrint)(-makemathname(infval)); return 0; }
makemathname(test_lrint_big)379 long makemathname(test_lrint_big)(void) { makemathname(lrint)(makemathname(big)); return 0; }
makemathname(test_lrint_negbig)380 long makemathname(test_lrint_negbig)(void) { makemathname(lrint)(-makemathname(big)); return 0; }
381
makemathname(test_lround_qnan)382 long makemathname(test_lround_qnan)(void) { makemathname(lround)(makemathname(qnanval)); return 0; }
makemathname(test_lround_snan)383 long makemathname(test_lround_snan)(void) { makemathname(lround)(makemathname(snanval)); return 0; }
makemathname(test_lround_inf)384 long makemathname(test_lround_inf)(void) { makemathname(lround)(makemathname(infval)); return 0; }
makemathname(test_lround_neginf)385 long makemathname(test_lround_neginf)(void) { makemathname(lround)(-makemathname(infval)); return 0; }
makemathname(test_lround_big)386 long makemathname(test_lround_big)(void) { makemathname(lround)(makemathname(big)); return 0; }
makemathname(test_lround_negbig)387 long makemathname(test_lround_negbig)(void) { makemathname(lround)(-makemathname(big)); return 0; }
388
389 #ifndef SIMPLE_MATH_ONLY
390
makemathname(test_nextafter_0_neg0)391 FLOAT_T makemathname(test_nextafter_0_neg0)(void) { return makemathname(nextafter)(makemathname(zero), -makemathname(zero)); }
makemathname(test_nextafter_neg0_0)392 FLOAT_T makemathname(test_nextafter_neg0_0)(void) { return makemathname(nextafter)(-makemathname(zero), makemathname(zero)); }
makemathname(test_nextafter_0_1)393 FLOAT_T makemathname(test_nextafter_0_1)(void) { return makemathname(nextafter)(makemathname(zero), makemathname(one)); }
makemathname(test_nextafter_0_neg1)394 FLOAT_T makemathname(test_nextafter_0_neg1)(void) { return makemathname(nextafter)(makemathname(zero), -makemathname(one)); }
makemathname(test_nextafter_min_1)395 FLOAT_T makemathname(test_nextafter_min_1)(void) { return makemathname(nextafter)(makemathname(min_val), makemathname(one)); }
makemathname(test_nextafter_negmin_neg1)396 FLOAT_T makemathname(test_nextafter_negmin_neg1)(void) { return makemathname(nextafter)(-makemathname(min_val), -makemathname(one)); }
makemathname(test_nextafter_qnan_1)397 FLOAT_T makemathname(test_nextafter_qnan_1)(void) { return makemathname(nextafter)(makemathname(qnanval), makemathname(one)); }
makemathname(test_nextafter_snan_1)398 FLOAT_T makemathname(test_nextafter_snan_1)(void) { return makemathname(nextafter)(makemathname(snanval), makemathname(one)); }
makemathname(test_nextafter_1_qnan)399 FLOAT_T makemathname(test_nextafter_1_qnan)(void) { return makemathname(nextafter)(makemathname(one), makemathname(qnanval)); }
makemathname(test_nextafter_1_snan)400 FLOAT_T makemathname(test_nextafter_1_snan)(void) { return makemathname(nextafter)(makemathname(one), makemathname(snanval)); }
makemathname(test_nextafter_max_inf)401 FLOAT_T makemathname(test_nextafter_max_inf)(void) { return makemathname(nextafter)(makemathname(max_val), makemathname(infval)); }
makemathname(test_nextafter_negmax_neginf)402 FLOAT_T makemathname(test_nextafter_negmax_neginf)(void) { return makemathname(nextafter)(-makemathname(max_val), -makemathname(infval)); }
makemathname(test_nextafter_min_0)403 FLOAT_T makemathname(test_nextafter_min_0)(void) { return makemathname(nextafter)(makemathname(min_val), makemathname(zero)); }
makemathname(test_nextafter_negmin_0)404 FLOAT_T makemathname(test_nextafter_negmin_0)(void) { return makemathname(nextafter)(-makemathname(min_val), makemathname(zero)); }
makemathname(test_nextafter_1_2)405 FLOAT_T makemathname(test_nextafter_1_2)(void) {return makemathname(nextafter)(makemathname(one), makemathname(two)); }
makemathname(test_nextafter_neg1_neg2)406 FLOAT_T makemathname(test_nextafter_neg1_neg2)(void) {return makemathname(nextafter)(-makemathname(one), -makemathname(two)); }
407
408 #if defined(__SIZEOF_LONG_DOUBLE__) && !defined(NO_NEXTTOWARD)
409
makemathname(test_nexttoward_0_neg0)410 FLOAT_T makemathname(test_nexttoward_0_neg0)(void) { return makemathname(nexttoward)(makemathname(zero), -makelname(zero)); }
makemathname(test_nexttoward_neg0_0)411 FLOAT_T makemathname(test_nexttoward_neg0_0)(void) { return makemathname(nexttoward)(-makemathname(zero), makelname(zero)); }
makemathname(test_nexttoward_0_1)412 FLOAT_T makemathname(test_nexttoward_0_1)(void) { return makemathname(nexttoward)(makemathname(zero), makelname(one)); }
makemathname(test_nexttoward_0_neg1)413 FLOAT_T makemathname(test_nexttoward_0_neg1)(void) { return makemathname(nexttoward)(makemathname(zero), -makelname(one)); }
makemathname(test_nexttoward_min_1)414 FLOAT_T makemathname(test_nexttoward_min_1)(void) { return makemathname(nexttoward)(makemathname(min_val), makelname(one)); }
makemathname(test_nexttoward_negmin_neg1)415