def sign

bend-collections-laws-crypto@1.0.0.0 · spec/math/f64.bend:76

import bend-collections-laws-crypto@1.0.0.0/spec/math/f64.bend as F64
import Base
import bend-collections-laws-crypto@1.0.0.0/spec/lib/common.bend as C
import bend-collections-laws-crypto@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 (24)