mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2025-01-21 21:32:00 +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 */
|
||||
/* Test 4.6.3.6 */
|
||||
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int ExternTest (void)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user