Table Of Contents

Round toward Positive Infinity (Clock-Driven Logic)

Last Modified: December 6, 2016

Rounds the input to the next highest integer.

For example, if the input is 3.1, the result is 4. If the input is -3.1, the result is -3.

connector_pane_image
datatype_icon

x

An input to this operation.

This input supports scalar numbers, arrays or clusters of numbers, arrays of clusters of numbers, and waveforms.

datatype_icon

rounded number

The resulting highest integer, closest to the input.

When x is of the form x = a + bi, that is, when x is complex, the function returns a complex number defined by the next highest integers to the real and imaginary parts of x. The following equation defines rounded number:

ceil(x) = ceil(a) + i ceil(b)

Where This Node Can Run:

Desktop OS: none

FPGA: All devices


Recently Viewed Topics