← All docs

atan2() — internals

Compiler internals for atan2(): lowering path, type checks, and runtime helpers.

atan2() — internals

Where it lives

Lowering notes

  • Lowers atan2() using the C ABI argument order y, x.

Runtime helpers

No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.

Signature summary

function atan2(float $y, float $x): float

What the type checker enforces

  • Arity: takes exactly 2 arguments.

Eval interpreter (magician)

Cross-references