fix ATAN2 implementation and add tests
Math.Atan2() expects y as first parameter and x as second, while in Excel x is first,
throw "correct" exception on input (0, 0)

add unit tests
1 parent a5fc59f commit 6cfe672b03810675f936b8458c5a74cb57fdcb96
@Peter Amrehn Peter Amrehn authored on 31 Oct 2017
Showing 2 changed files
View
ClosedXML/Excel/CalcEngine/Functions/MathTrig.cs
View
ClosedXML_Tests/Excel/CalcEngine/MathTrigTests.cs