In ap[u]fixed
types, a fixed-point value is
represented as a sequence of bits with a specified position for the binary point.
- Bits to the left of the binary point represent the integer part of the value, including the sign bit.
- Bits to the right of the binary point represent the fractional part of the value.
ap_[u]fixed type
is defined as follows:
ap_[u]fixed<int W,
int I,
ap_q_mode Q,
ap_o_mode O,
ap_sat_bits N>;