Developer Guide

Intel oneAPI DPC++/C++ Compiler Handbook for Intel FPGAs

ID 785441
Date 5/08/2024
Public

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

Document Table of Contents

Additional ap_float Functions

The ap_float data type also provides the following additional functions:

Additional ap_float Functions
Function Description
Getters and Setters

ap_float::get_exponent

ap_float::set_exponent

Gets/sets the exponent value of the ap_float variable.

ap_float::get_mantissa

ap_float::set_mantissa

Gets/sets the mantissa value of the ap_float variable.

ap_float::get_sign

ap_float::set_sign

Gets/sets the sign bit of the ap_float variable.
Special Constants