interval<T> floor(interval<T> x) [source]
interval<T> floor(interval<T> x)
Returns the interval containing ⌊x⌋\lfloor x \rfloor⌊x⌋.
⌊⋅⌋:IR→IR\lfloor\cdot\rfloor: \mathbb{IR} \rightarrow \mathbb{IR}⌊⋅⌋:IR→IR
interval<T> ceil(interval<T> x) [source]
interval<T> ceil(interval<T> x)
Returns the interval containing ⌈x⌉\lceil x \rceil⌈x⌉.
⌈⋅⌉:IR→IR\lceil\cdot\rceil: \mathbb{IR} \rightarrow \mathbb{IR}⌈⋅⌉:IR→IR
interval<T> trunc(interval<T> x) [source]
interval<T> trunc(interval<T> x)
Returns the interval containing truncated values of xxx.
trunc:IR→IR\mathrm{trunc}: \mathbb{IR} \rightarrow \mathbb{IR}trunc:IR→IR
interval<T> sign(interval<T> x) [source]
interval<T> sign(interval<T> x)
Returns the sign interval of xxx.
sign:IR→{−1,0,1}\mathrm{sign}: \mathbb{IR} \rightarrow \{-1, 0, 1\}sign:IR→{−1,0,1}
interval<T> round(interval<T> x) [source]
interval<T> round(interval<T> x)
Returns the interval containing rounded values of xxx.
round:IR→IR\mathrm{round}: \mathbb{IR} \rightarrow \mathbb{IR}round:IR→IR
interval<T> nearbyint(interval<T> x) [source]
interval<T> nearbyint(interval<T> x)
Returns the interval containing nearby integer values of xxx.
nearbyint:IR→IR\mathrm{nearbyint}: \mathbb{IR} \rightarrow \mathbb{IR}nearbyint:IR→IR
interval<T> rint(interval<T> x) [source]
interval<T> rint(interval<T> x)
Returns the interval containing rounded integer values of xxx.
rint:IR→IR\mathrm{rint}: \mathbb{IR} \rightarrow \mathbb{IR}rint:IR→IR
interval<T> fdim(interval<T> x, interval<T> y) [source]
interval<T> fdim(interval<T> x, interval<T> y)
Returns the interval positive difference max(x−y,0)\max(x-y, 0)max(x−y,0).
fdim:IR×IR→IR\mathrm{fdim}: \mathbb{IR}\times\mathbb{IR} \rightarrow \mathbb{IR}fdim:IR×IR→IR
interval<T> round_to_nearest_even(interval<T> x) [source]
interval<T> round_to_nearest_even(interval<T> x)
Returns the interval rounded to nearest even integer.
roundTiesToEven:IR→IR\mathrm{roundTiesToEven}: \mathbb{IR} \rightarrow \mathbb{IR}roundTiesToEven:IR→IR
interval<T> round_ties_to_away(interval<T> x) [source]
interval<T> round_ties_to_away(interval<T> x)
Returns the interval rounded away from zero.
roundTiesToAway:IR→IR\mathrm{roundTiesToAway}: \mathbb{IR} \rightarrow \mathbb{IR}roundTiesToAway:IR→IR