API reference

python:irx:irx.analysis.numeric_policy

module numeric_policy

irx.analysis.numeric_policy

Source: packages/irx/src/irx/analysis/numeric_policy.py:1

Value-preserving numeric promotion and conversion classification.

Describe the checked-arithmetic policy independently of LLVM and runtime values. This policy covers fixed-width 8-64 bit integers and f16/f32/f64; Boolean, nullable, vector, and storage types must be handled by their owning semantic resolvers. Classification does not perform a conversion or a check.

Classes

Functions

Attributes

Search documentation

Type to search.