Developer Guide

Intel oneAPI FPGA Handbook

ID 785441
Date 2/07/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Comparison Operators

Comparison operators (>, <, ==, !=, >=, <=) are subject to the conversion rules described in Conversion Rules for the ap_float Data Type.

The == and != operators impose a bit-wise comparison of the casted values.

Comparisons with NaN always return false.