Skip to content

Integer

Details

Returns the interval containing x\lfloor x \rfloor.

±0 ulps

:IRIR\lfloor\cdot\rfloor: \mathbb{IR} \rightarrow \mathbb{IR}


Details

Returns the interval containing x\lceil x \rceil.

±0 ulps

:IRIR\lceil\cdot\rceil: \mathbb{IR} \rightarrow \mathbb{IR}


Details

Returns the interval containing truncated values of xx.

±0 ulps

trunc:IRIR\mathrm{trunc}: \mathbb{IR} \rightarrow \mathbb{IR}


Details

Returns the sign interval of xx.

±0 ulps

sign:IR{1,0,1}\mathrm{sign}: \mathbb{IR} \rightarrow \{-1, 0, 1\}


Details

Returns the interval containing rounded values of xx.

±0 ulps

round:IRIR\mathrm{round}: \mathbb{IR} \rightarrow \mathbb{IR}


interval<T> nearbyint(interval<T> x)

[source]
Details

Returns the interval containing nearby integer values of xx.

±0 ulps

nearbyint:IRIR\mathrm{nearbyint}: \mathbb{IR} \rightarrow \mathbb{IR}


Details

Returns the interval containing rounded integer values of xx.

±0 ulps

rint:IRIR\mathrm{rint}: \mathbb{IR} \rightarrow \mathbb{IR}


Details

Returns the interval positive difference max(xy,0)\max(x-y, 0).

±0 ulps

fdim:IR×IRIR\mathrm{fdim}: \mathbb{IR}\times\mathbb{IR} \rightarrow \mathbb{IR}


interval<T> round_to_nearest_even(interval<T> x)

[source]
Details

Returns the interval rounded to nearest even integer.

±0 ulps

roundTiesToEven:IRIR\mathrm{roundTiesToEven}: \mathbb{IR} \rightarrow \mathbb{IR}


interval<T> round_ties_to_away(interval<T> x)

[source]
Details

Returns the interval rounded away from zero.

±0 ulps

roundTiesToAway:IRIR\mathrm{roundTiesToAway}: \mathbb{IR} \rightarrow \mathbb{IR}