GCC Middle and Back End API Reference
|
#include <real.h>
Public Member Functions | |
format_helper (const real_format *format) | |
template<typename T > | |
format_helper (const T &) | |
const real_format * | operator-> () const |
operator const real_format * () const | |
bool | decimal_p () const |
bool | can_represent_integral_type_p (tree type) const |
Private Attributes | |
const real_format * | m_format |
This class allows functions in this file to accept a floating-point format as either a mode or an explicit real_format pointer. In the former case the mode must be VOIDmode (which means "no particular format") or must satisfy SCALAR_FLOAT_MODE_P.
|
inline |
True if all values of integral type can be represented by this floating-point type exactly.
References decimal_p(), gcc_assert, INTEGRAL_TYPE_P, SIGNED, significand_size(), TYPE_PRECISION, and TYPE_SIGN.
|
inline |
References real_format::b, and m_format.
Referenced by can_represent_integral_type_p(), real_2expN(), real_from_integer(), and real_from_string3().
|
inline |
References m_format.
|
inline |
References m_format.
|
private |
Referenced by decimal_p(), operator const real_format *(), and operator->().