Edit

Share via


Double.AcosPi(Double) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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, 10