mirror of
https://github.com/cosinekitty/astronomy.git
synced 2025-12-25 16:48:34 -05:00
Now that I have retargeted astronomy.csproj from net5.0 to netstandard2.0, there are a couple of other little improvements that are now possible: 1. In my manual Framework 4 test project, instead of directly pulling in the source file astronomy.cs, add astronomy.csproj as a project reference. This demonstrates that the same binary astronomy.dll works in both Framework and Core. 2. Now there is no need/use for conditional compilation directives in the Astronomy.CubeRoot function. Instead, always use my own implementation since the Math.Cbrt function is never available. From a testing standpoint, this was probably the better option all along.