Edit

Share via


Double.AcosPi(Double) Method

Definition

Computes the arc-cosine of a value and divides the result by pi.

C#
public static double AcosPi(double x);

Parameters

x
Double

The value whose arc-cosine is to be computed.

Returns

The arc-cosine of x, divided by pi.

Implements

Remarks

This computes arccos(x) / π in the interval [-0.5, +0.5].

Applies to

Product Versions
.NET 7, 8, 9