Intel® High Level Synthesis Compiler Pro Edition: Reference Manual
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: ewa1466518427635
Ixiasoft
Visible to Intel only — GUID: ewa1466518427635
Ixiasoft
B. Supported Math Functions
#include "HLS/math.h"
#include "HLS/extendedmath.h"
The extendedmath.h header is compatible only with Intel® HLS Compiler. It is not compatible with GCC or Microsoft Visual Studio.
#include "HLS/ac_fixed_math.h"
To see examples of how to use the math functions provided by these header files, review the following tutorial: <quartus_installdir>/hls/examples/tutorials/best_practices/single_vs_double_precision_math.
#include "HLS/hls_float_math.h"
- Math Functions Provided by the math.h Header File
- Math Functions Provided by the extendedmath.h Header File
- Math Functions Provided by the ac_fixed_math.h Header File
- Math Functions Provided by the hls_float.h Header File
- Math Functions Provided by the hls_float_math.h Header File
- Default Rounding Schemes and Subnormal Number Support