Less Or Equal To 0? Function
- 已更新2025-07-30
- 閱讀時間為 2 分鐘
Returns TRUE if x is less than or equal to 0. Otherwise, this function returns FALSE.
The connector pane displays the default data types for this polymorphic function.

Inputs/Outputs
x
—
x can be a numeric scalar value, cluster, array of numbers, or a time stamp value.
x <= 0?
—
x ≤ 0? is a Boolean value of the same data type structure as x. |
FPGA Module Details
The following details apply when you use this object in an FPGA VI.
| Single-Cycle Timed Loop | Supported. |
| Usage | If you use this function with the single-precision floating-point data type, refer to the Using the Single-Precision Floating-Point Data Type and Deciding Which Data Type to Use in FPGA Designs topics for resource use, latency, and single-cycle Timed Loop support implications. |
| Timing | Inside single-cycle Timed Loop--When you use Comparison functions inside a single-cycle Timed Loop, the combinatorial logic delay is proportional to the width of the data types you compare. Outside single-cycle Timed Loop--When you use Comparison functions outside a single-cycle Timed Loop, each Comparison function takes one clock cycle. If you use the Comparison functions with the fixed-point data type, the overflow and rounding modes might impact timing. |
| Resources | The Comparison functions use FPGA resources in proportion to the width of the data types you compare. |
x
—
x <= 0?
—