Developer Guide

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

ID 785441
Date 10/24/2024
Public
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.