MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / FPRMRef

Class FPRMRef

lean_py/z3/core.py:3222–3232  ·  view source on GitHub ↗

Floating-point rounding mode.

Source from the content-addressed store, hash-verified

3220
3221
3222class FPRMRef(ExprRef):
3223 """Floating-point rounding mode."""
3224
3225 __slots__ = ()
3226
3227 def __init__(self, name: str) -> None:
3228 super().__init__(
3229 _AstVar(name),
3230 SortRef(_rm_ast_sort),
3231 frozenset(),
3232 )
3233
3234
3235def FPSort(ebits: int, sbits: int, ctx: Context | None = None) -> FPSortRef:

Callers 5

RoundNearestTiesToEvenFunction · 0.85
RoundNearestTiesToAwayFunction · 0.85
RoundTowardPositiveFunction · 0.85
RoundTowardNegativeFunction · 0.85
RoundTowardZeroFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected