public static float acosh(float x) { if (x < (1f)) return (0f); return (float)Math.Log(x + Math.Sqrt(x * x - (1f))); }