atan2(a: number, b: number) → f64
Category: [math](builtinsmath)_
Arctangent of a/b in radians, using the signs of both to pick the quadrant.
| Parameter | Type | Description | Remarks |
|---|---|---|---|
| a | number | The first operand. | — |
| b | number | The second operand. | — |
| returns | f64 | The result, as an f64. | — |
wcl
atan2(1.0, 1.0) // angle of the vector (1, 1) → 0.7853981633974483