Developer Guide

FPGA Optimization Guide for Intel® oneAPI Toolkits

ID 767853
Date 3/31/2023
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