def fm_qr
import bend-collections-laws-math@1.0.0.0/src/math/f64.bend as F64import Base
import bend-collections-laws-math@1.0.0.0/src/math/u64.bend as W
import bend-collections-laws-math@1.0.0.0/src/math/w64.bend as X
1072# the last quotient digit and remainder of mant(x) * 2^(e(x) - e(y)) by mant(y)
1073def fm_qr(+x: F64, +y: F64) -> W.U64 & W.U64:
1074 fm_go(Nat.sub(dexp(x), dexp(y)), dmant(y), Nat.sub(dexp(x), dexp(y)), X.divmod(dmant(x), dmant(y)))
Uses (8)
Used by (7)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64fmod:qr_r
- bend-collections-laws-math@1.0.0.0/src/math/f64:fmod_fin
- bend-collections-laws-math@1.0.0.0/src/math/f64:rm_far
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64fmod:fm_near
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64fmod:qr_q
- …