<h2 id="atan2-a-b">atan2</h2>

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

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

Returns the angle theta from the conversion of rectangular coordinates (b, a) to polar
coordinates (r, theta).

#### Parameters

| | |
| --- | --- |
| a | The y-coordinate |
| b | The x-coordinate |