Is the C# docs about input value of hyperbolic functions (Math.Sinh, Math.Cosh, Math.Tanh) wrong?

Viewed 48

The docs of Math.Sinh, Math.Cosh, Math.Tanh all says:

Parameters

value Double

An angle, measured in radians.

Remarks

The angle, value, must be in radians. Multiply by Math.PI/180 to convert degrees to radians.

This method calls into the underlying C runtime, and the exact result or valid input range may differ between different operating systems or architectures.

The input value is obviously not an angle, but the area (which means it doesn't effect if the angle is measured in Degrees or Radians or Gradians).

So is it a "copy-paste" mistake of Microsoft docs?

1 Answers

Yes. I have tested it on Microsoft Calculator, the result of Sinh/Cosh/Tanh isn't effected by the Angle Unit (Degrees, Radians, Grads).

Also, according to Wikipedia:

enter image description here

point (cosh a, sinh a), where a is twice the area between the ray

Of course it's a mistake of the docs of Microsoft.

Related