Function

sign

Returns the sign of the given RemoteFloat a.

sign

Source set: Android
public fun sign(a: RemoteFloat): RemoteFloat

Returns the sign of the given RemoteFloat a.

Parameters

a The value whose sign is to be returned.

Returns

1.0 if the value is positive, -1.0 if it is negative, and 0.0 if it is zero.

Last updated: