3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 * SPDX-License-Identifier: GPL-2.0+
8 * This file is originally a part of the GCC testsuite.
17 #if CONFIG_POST & CONFIG_SYS_POST_FPU
19 static double func (const double *array)
26 return d + func (array + 1);
29 int fpu_post_test_math5 (void)
31 double values[] = { 0.1e-100, 1.0, -1.0, 0.0 };
33 if (func (values) != 0.1e-100) {
34 post_log ("Error in FPU math5 test\n");
40 #endif /* CONFIG_POST & CONFIG_SYS_POST_FPU */