GCC Middle and Back End API Reference
real_format Struct Reference

#include <real.h>

Data Fields

void(* encode )(const struct real_format *, long *, const REAL_VALUE_TYPE *)
void(* decode )(const struct real_format *, REAL_VALUE_TYPE *, const long *)
int b
int p
int pnan
int emin
int emax
int signbit_ro
int signbit_rw
int ieee_bits
bool round_towards_zero
bool has_sign_dependent_rounding
bool has_nans
bool has_inf
bool has_denorm
bool has_signed_zero
bool qnan_msb_set
bool canonical_nan_lsbs_set
const char * name

Detailed Description

Calculate the format for CONST_DOUBLE. We need as many slots as are necessary to overlay a REAL_VALUE_TYPE on them. This could be as many as four (32-bit HOST_WIDE_INT, 128-bit REAL_VALUE_TYPE). A number of places assume that there are always at least two 'w' slots in a CONST_DOUBLE, so we provide them even if one would suffice.
Describes the properties of the specific target format in use.

Field Documentation

◆ b

◆ canonical_nan_lsbs_set

◆ decode

void(* real_format::decode) (const struct real_format *, REAL_VALUE_TYPE *, const long *)

Referenced by real_from_target().

◆ emax

◆ emin

◆ encode

void(* real_format::encode) (const struct real_format *, long *, const REAL_VALUE_TYPE *)

Referenced by real_to_target().

◆ has_denorm

◆ has_inf

◆ has_nans

◆ has_sign_dependent_rounding

bool real_format::has_sign_dependent_rounding

◆ has_signed_zero

◆ ieee_bits

int real_format::ieee_bits

◆ name

const char* real_format::name

◆ p

◆ pnan

◆ qnan_msb_set

◆ round_towards_zero

◆ signbit_ro

◆ signbit_rw


The documentation for this struct was generated from the following file: