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 int fpu_post_test_math4 (void)
21 volatile float reale = 1.0f;
22 volatile float oneplus;
25 if (sizeof (float) != 4)
30 oneplus = 1.0f + reale;
35 /* Assumes ieee754 accurate arithmetic above. */
37 post_log ("Error in FPU math4 test\n");
43 #endif /* CONFIG_POST & CONFIG_SYS_POST_FPU */