Edit

Share via


Single.AcosPi(Single) Method

Definition

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

C#
public static float AcosPi(float x);

Parameters

x
Single

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