<h2 id="copysign-a-b">copySign</h2>

<div class='sourceset sourceset-android'>Android</div>

```kotlin
public fun copySign(a: RemoteFloat, b: RemoteFloat): RemoteFloat
```

Returns the first floating-point argument with the sign of the second floating-point argument.

#### Parameters

| | |
| --- | --- |
| a | The value whose magnitude is used. |
| b | The value whose sign is used. |