I'm attempting a port of GeographicLib into F#. Ideally, I'd like it to be available as a PCL library, so that it can be accessed from Xamarin. Unfortunately, the MathNet.Numerics and MathNet.Numerics.FSharp packages are not compatible with PCL.
My first stumbling block are the absence of the hyperbolic trig function Trig.Atanh
, and of a representation of Precision.MachineEpsilon
, from the standard numerical libraries. I have searched online, but drawn a blank for the most efficient way to implement these.
Is there a straightforward way to find the optimal implementation of these functions?