def sign
import bend-collections-laws-math@1.0.0.0/spec/math/f64.bend as F64import Base
import bend-collections-laws-math@1.0.0.0/spec/lib/common.bend as C
import bend-collections-laws-math@1.0.0.0/src/math/f64.bend as F
76# bit 63, bits 52..62 and bits 0..51 of the pattern
77def sign(+x: F.F64) -> Bool:
78 Bool.not(C.fits(31n, hi_nat(x)))
Uses (5)
Used by (92)
- bend-collections-laws-math@1.0.0.0/spec/math/f64:ord
- bend-collections-laws-math@1.0.0.0/spec/math/f64:to_integral
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64fmod:RNs
- bend-collections-laws-math@1.0.0.0/spec/math/f64:to_nat
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64fmod:FM
- …