Developer Guide

Intel® oneAPI DPC++/C++ Compiler Handbook for FPGAs

ID 785441
Date 6/24/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.