Intel® High Level Synthesis Compiler Pro Edition: Reference Manual

ID 683349
Date 4/01/2024
Public
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)