BigFloat.Atan2 Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Atan2(BigFloat, BigFloat) Returns the inverse tangent of a number.
Atan2(BigFloat, BigFloat, AccuracyGoal) Returns the inverse tangent of a number with the specified accuracy.
Atan2(BigFloat, BigFloat, AccuracyGoal, RoundingMode) Returns the inverse tangent of a number with the specified accuracy.

Atan2(BigFloat, BigFloat)

Returns the inverse tangent of a number.
C#
public static BigFloat Atan2(
	BigFloat y,
	BigFloat x
)

Parameters

y  BigFloat
A BigFloat value.
x  BigFloat
A BigFloat value.

Return Value

BigFloat
The inverse tangent of y divided by x adjusted for the signs.

Remarks

The result has the same relative precision as the smaller of the relative precisions of x and y. The result has the same sign as y.

Exceptions

ArgumentNullException

x is null.

-or-

y is null.

Atan2(BigFloat, BigFloat, AccuracyGoal)

Returns the inverse tangent of a number with the specified accuracy.
C#
public static BigFloat Atan2(
	BigFloat y,
	BigFloat x,
	AccuracyGoal accuracyGoal
)

Parameters

y  BigFloat
The y-coordinate of a point.
x  BigFloat
The x-coordinate of a point.
accuracyGoal  AccuracyGoal
An AccuracyGoal value that specifies the desired accuracy of the result.

Return Value

BigFloat
The inverse tangent of y divided by x adjusted for the signs with an accuracy within accuracyGoal.

Exceptions

ArgumentNullException

x is null.

-or-

y is null.

Atan2(BigFloat, BigFloat, AccuracyGoal, RoundingMode)

Returns the inverse tangent of a number with the specified accuracy.
C#
public static BigFloat Atan2(
	BigFloat y,
	BigFloat x,
	AccuracyGoal accuracyGoal,
	RoundingMode roundingMode
)

Parameters

y  BigFloat
The y-coordinate of a point.
x  BigFloat
The x-coordinate of a point.
accuracyGoal  AccuracyGoal
An AccuracyGoal value that specifies the desired accuracy of the result.
roundingMode  RoundingMode
A RoundingMode value that specifies how the result should be rounded.

Return Value

BigFloat
The inverse tangent of y divided by x with an accuracy within accuracyGoal.

Exceptions

ArgumentNullException

x is null.

-or-

y is null.

See Also