]>
git.ipfire.org Git - people/ms/u-boot.git/blob - post/lib_powerpc/fpu/acc1.c
22d28f91573077ede91b1751bc37591318cd9bb7
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 */