Lines Matching refs:MODE
150 /* Default rounding mode for operations on this format. */
164 /* The target format used for each floating point mode.
166 float modes indexed by (MODE - first float mode), and entries for
167 decimal float modes indexed by (MODE - first decimal float mode) +
173 #define REAL_MODE_FORMAT(MODE) \
174 (real_format_for_mode[DECIMAL_FLOAT_MODE_P (MODE) \
175 ? (((MODE) - MIN_MODE_DECIMAL_FLOAT) \
177 : ((MODE) - MIN_MODE_FLOAT)])
179 #define FLOAT_MODE_FORMAT(MODE) \
180 (REAL_MODE_FORMAT (SCALAR_FLOAT_MODE_P (MODE)? (MODE) \
181 : GET_MODE_INNER (MODE)))
186 #define MODE_COMPOSITE_P(MODE) \
187 (FLOAT_MODE_P (MODE) \
188 && FLOAT_MODE_FORMAT (MODE)->pnan < FLOAT_MODE_FORMAT (MODE)->p)
191 #define MODE_HAS_NANS(MODE) \
192 (FLOAT_MODE_P (MODE) && FLOAT_MODE_FORMAT (MODE)->has_nans)
193 #define MODE_HAS_INFINITIES(MODE) \
194 (FLOAT_MODE_P (MODE) && FLOAT_MODE_FORMAT (MODE)->has_inf)
195 #define MODE_HAS_SIGNED_ZEROS(MODE) \
196 (FLOAT_MODE_P (MODE) && FLOAT_MODE_FORMAT (MODE)->has_signed_zero)
197 #define MODE_HAS_SIGN_DEPENDENT_ROUNDING(MODE) \
198 (FLOAT_MODE_P (MODE) \
199 && FLOAT_MODE_FORMAT (MODE)->has_sign_dependent_rounding)
229 /* Extend or truncate to a new mode. */
241 parsed back to the same value when interpreted in mode MODE. */
343 #define REAL_VALUE_FROM_INT(r, lo, hi, mode) \
344 real_from_integer (&(r), mode, lo, hi, 0)
346 #define REAL_VALUE_FROM_UNSIGNED_INT(r, lo, hi, mode) \
347 real_from_integer (&(r), mode, lo, hi, 1)
434 /* Return a CONST_DOUBLE with value R and mode M. */
439 /* Replace R by 1/R in the given machine mode, if the result is exact. */
450 /* Calculate R as the square root of X in the given machine mode. */
454 /* Calculate R as X raised to the integer exponent N in mode MODE. */
480 extern bool real_isinteger (const REAL_VALUE_TYPE *c, enum machine_mode mode);