mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2025-03-13 04:33:19 +00:00
Fix a buggy test case.
It was calling fabs() without having included <math.h>, causing fabs() to be treated as returning an int rather than a floating-point value. This misinterpretation of the return value could cause test failures.
This commit is contained in:
parent
b39dd0f34c
commit
da715ae854
@ -2,6 +2,8 @@
|
|||||||
/* arrays defined in the main source file. Part of Special Conformance */
|
/* arrays defined in the main source file. Part of Special Conformance */
|
||||||
/* Test 4.6.3.6 */
|
/* Test 4.6.3.6 */
|
||||||
|
|
||||||
|
#include <math.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
int ExternTest (void)
|
int ExternTest (void)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user