Intel® High Level Synthesis Compiler Pro Edition: Reference Manual

ID 683349
Date 10/02/2023
Public

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

Document Table of Contents

B.3. Math Functions Provided by the ac_fixed_math.h Header File

Adding the ac_fixed_math.h header file adds support for the following arbitrary precision fixed-point (ac_fixed) datatype functions:
  • sqrt_fixed
  • reciprocal_fixed
  • reciprocal_sqrt_fixed
  • sin_fixed
  • cos_fixed
  • sincos_fixed
  • sinpi_fixed
  • cospi_fixed
  • sincospi_fixed
  • log_fixed
  • exp_fixed
For details about inputs type restrictions, input value limits, and output type propagation rules, review the comments in the ac_fixed_math.h header file.
Important: Due to the differences in the internal math implementations, the results from operations with ac_fixed data types might be different between simulation and emulation. The maximum difference will be within a few ULPs.