Calculator Members
From Project Mercury API
| Project Mercury API Reference |
| Calculator Members |
| Calculator Class Methods Fields See Also Send Feedback |
[This is preliminary documentation and is subject to change.]
The Calculator type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Abs | Overloaded. | |
| Acos |
Returns the angle whose cosine is the specified value.
| |
| Asin |
Returns the angle whose sine is the specified value.
| |
| Atan |
Returns the angle whos tangent is the speicified number.
| |
| Atan2 |
Returns the angle whose tangent is the quotient of the two specified numbers.
| |
| Clamp | Overloaded. | |
| Cos |
Returns the cosine of the specified angle.
| |
| Cosh |
Returns the hyperbolic cosine of the specified angle.
| |
| CubicInterpolate | Overloaded. | |
| LinearInterpolate | Overloaded. | |
| Log |
Returns the natural (base e) logarithm of the specified value.
| |
| Max | Overloaded. | |
| Min | Overloaded. | |
| Pow |
Returns the specified value raised to the specified power.
| |
| Sin |
Returns the sine of the specified angle.
| |
| Sinh |
Returns the hyperbolic sine of the specified angle.
| |
| Sqrt |
Returns the square root of the specified value.
| |
| Tan |
Returns the tangent of the specified angle.
| |
| Tanh |
Returns the hyperbolic tangent of the specified angle.
| |
| Wrap | Overloaded. |
Fields
| Name | Description | |
|---|---|---|
| Pi |
Represents the value of pi.
| |
| PiOver2 |
Represents the value of pi divided by two.
| |
| PiOver4 |
Represents the value of pi divided by four.
| |
| TwoPi |
Represents the value of pi times two.
|