Using Optimized Built-in Math Functions from HLS MATH Library

OpenCL™ Specification provides a wealth of math built-in functions. All math built-in functions with the native_ prefix are mapped to one or more native device instructions and will typically have better performance compared to the corresponding functions (without the native_ prefix). The accuracy and in some cases the input ranges of these functions is implementation-defined. In SDAccel™ environment these native_ built-in functions use the equivalent functions in Vivado® HLS Math library, which are already optimized for Xilinx® FPGAs in terms of area and performance. It’s recommended to use native_ built-in functions if the accuracy meets the application requirement.