Intel® High Level Synthesis Compiler Pro Edition: Reference Manual

ID 683349
Date 10/04/2021
Public

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

Document Table of Contents

B.4. Math Functions Provided by the hls_float.h Header File

Adding the hls_float.h header file adds support for the following arbitrary precision floating point (hls_float.h) data type functions:
  • Arithmetic operators: +,-, *,/
  • Arithmetic assignment operators: =, +=, -=, *=, /=
  • Comparison operators: >, <, ==, !=, >=, <=
  • Unary operators: +(), -(), abs()
  • Explicit functions: add(a, b), sub(a, b), mul(a, b), div(a, b)