Java.Lang.Math.CopySign Method
Returns a float with the given magnitude and the sign of sign.

Syntax

[Android.Runtime.Register("copySign", "(FF)F", "")]
public static float CopySign (float p0, float p1)

Parameters

magnitude
Documentation for this section has not yet been entered.
sign
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns a float with the given magnitude and the sign of sign. If sign is NaN, the sign of the result is arbitrary. If you need a determinate sign in such cases, use StrictMath.copySign.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9