Fixed Windows build: diffcalc C vs C#.

A slight difference (7.9e-17) in calculation now exists between
the C and C# horizontal angle calculations on Windows.
This is not surprising because the atan2() function is
known to return slightly different values on other
compilers/platforms. Adjusted the tolerance for this tiny
amount of roundoff discrepancy.
This commit is contained in:
Don Cross
2021-11-13 09:13:41 -05:00
parent 2fe8b8d8c0
commit 0b96e2a2d7

View File

@@ -9,7 +9,7 @@ if not exist !CTESTEXE! (
echo.Diffing calculations.
!CTESTEXE! diff 0.0 temp\c_check.txt dotnet\csharp_test\csharp_check.txt
!CTESTEXE! diff 7.9e-17 temp\c_check.txt dotnet\csharp_test\csharp_check.txt
if errorlevel 1 (exit /b 1)
!CTESTEXE! diff 5.6e-15 temp\c_check.txt temp\js_check.txt