Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns the angle whose cosine is the specified number.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public Shared Function Acos ( _
d As Double _
) As Double
public static double Acos(
double d
)
public:
static double Acos(
double d
)
static member Acos :
d:float -> float
public static function Acos(
d : double
) : double
Parameters
- d
Type: System. . :: . .Double
A number representing a cosine, where d must be greater than or equal to -1, but less than or equal to 1.
Return Value
Type: System. . :: . .Double
An angle, θ, measured in radians, such that 0 ≤θ≤π
-or-
NaN if d < -1 or d > 1 or d equals NaN.
Remarks
Multiply the return value by 180/Math..::..PI to convert from radians to degrees.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.