Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ fpIsNegative
Function
fpIsNegative
lean_py/z3/core.py:3449–3450 ·
view source on GitHub ↗
(a: FPRef, ctx: Context | None = None)
Source
from the content-addressed store, hash-verified
3447
3448
3449
def
fpIsNegative(a: FPRef, ctx: Context | None = None) -> BoolRef:
3450
return
_fp_pred(
"fpIsNegative"
, a)
3451
3452
3453
def
fpIsPositive(a: FPRef, ctx: Context | None = None) -> BoolRef:
Callers
2
test_fp_predicates
Method · 0.90
test_fp_is_negative_neg_zero
Method · 0.90
Calls
1
_fp_pred
Function · 0.85
Tested by
2
test_fp_predicates
Method · 0.72
test_fp_is_negative_neg_zero
Method · 0.72