Basic inclusion extensions for interval_dyadic_real #
This file defines basic operations for the interval_dyadic_real inclusion family.
Construct an inclusion variable for a real expression using a dyadic interval.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Round the lower endpoint of I down and the upper endpoint up, each to a multiple of
2 ^ (-prec). Infinite endpoints are left unchanged, so the result always contains I.
This drops surplus bits so that later computations don't have to carry them. For example, a large
power of an interval (as in expPoint) has endpoints with very long binary expansions.
Equations
- Inclusion.IntervalDyadicReal.roundOut I prec = { lb := WithBot.map (fun (l : Dyadic) => l.roundDown ↑prec) I.lb, ub := WithTop.map (fun (u : Dyadic) => u.roundUp ↑prec) I.ub }