← All docs

is_infinite() — internals

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

is_infinite() — internals

Where it lives

Lowering notes

  • Lowers is_infinite() by comparing the normalized float against +/- infinity.

Runtime helpers

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

Signature summary

function is_infinite(float $num): bool

What the type checker enforces

  • Arity: takes exactly 1 argument.

Eval interpreter (magician)

Cross-references