Lines Matching defs:REAL_VALUE_TYPE
68 /* Various headers condition prototypes on #ifdef REAL_VALUE_TYPE, so it
71 #define REAL_VALUE_TYPE struct real_value
73 /* We store a REAL_VALUE_TYPE into an rtx, and we do this by putting it in
84 [sizeof(REAL_VALUE_TYPE) <= REAL_WIDTH*sizeof(HOST_WIDE_INT) ? 1 : -1];
87 are necessary to overlay a REAL_VALUE_TYPE on them. This could be
88 as many as four (32-bit HOST_WIDE_INT, 128-bit REAL_VALUE_TYPE).
125 const REAL_VALUE_TYPE *);
126 void (*decode) (const struct real_format *, REAL_VALUE_TYPE *,
232 extern bool real_arithmetic (REAL_VALUE_TYPE *, int, const REAL_VALUE_TYPE *,
233 const REAL_VALUE_TYPE *);
236 extern bool real_compare (int, const REAL_VALUE_TYPE *, const REAL_VALUE_TYPE *);
239 extern bool real_isinf (const REAL_VALUE_TYPE *);
242 extern bool real_isnan (const REAL_VALUE_TYPE *);
245 extern bool real_isfinite (const REAL_VALUE_TYPE *);
248 extern bool real_isneg (const REAL_VALUE_TYPE *);
251 extern bool real_isnegzero (const REAL_VALUE_TYPE *);
254 extern bool real_identical (const REAL_VALUE_TYPE *, const REAL_VALUE_TYPE *);
257 extern void real_convert (REAL_VALUE_TYPE *, enum machine_mode,
258 const REAL_VALUE_TYPE *);
261 extern bool exact_real_truncate (enum machine_mode, const REAL_VALUE_TYPE *);
264 extern void real_to_decimal (char *, const REAL_VALUE_TYPE *, size_t,
269 extern void real_to_decimal_for_mode (char *, const REAL_VALUE_TYPE *, size_t,
273 extern void real_to_hexadecimal (char *, const REAL_VALUE_TYPE *,
277 extern HOST_WIDE_INT real_to_integer (const REAL_VALUE_TYPE *);
279 const REAL_VALUE_TYPE *);
283 extern int real_from_string (REAL_VALUE_TYPE *, const char *);
285 extern void real_from_string3 (REAL_VALUE_TYPE *, const char *, enum machine_mode);
288 extern void real_from_integer (REAL_VALUE_TYPE *, enum machine_mode,
291 extern long real_to_target_fmt (long *, const REAL_VALUE_TYPE *,
293 extern long real_to_target (long *, const REAL_VALUE_TYPE *, enum machine_mode);
295 extern void real_from_target_fmt (REAL_VALUE_TYPE *, const long *,
297 extern void real_from_target (REAL_VALUE_TYPE *, const long *,
300 extern void real_inf (REAL_VALUE_TYPE *);
302 extern bool real_nan (REAL_VALUE_TYPE *, const char *, int, enum machine_mode);
304 extern void real_maxval (REAL_VALUE_TYPE *, int, enum machine_mode);
306 extern void real_2expN (REAL_VALUE_TYPE *, int, enum machine_mode);
308 extern unsigned int real_hash (const REAL_VALUE_TYPE *);
360 /* IN is a REAL_VALUE_TYPE. OUT is an array of longs. */
368 /* IN is a REAL_VALUE_TYPE. OUT is a long. */
380 /* IN is a REAL_VALUE_TYPE. OUT is an array of longs. */
387 /* IN is a REAL_VALUE_TYPE. OUT is a long. */
391 extern REAL_VALUE_TYPE real_value_truncate (enum machine_mode,
392 REAL_VALUE_TYPE);
397 extern REAL_VALUE_TYPE real_arithmetic2 (int, const REAL_VALUE_TYPE *,
398 const REAL_VALUE_TYPE *);
408 extern REAL_VALUE_TYPE real_from_string2 (const char *, enum machine_mode);
426 extern int real_exponent (const REAL_VALUE_TYPE *);
429 extern void real_ldexp (REAL_VALUE_TYPE *, const REAL_VALUE_TYPE *, int);
436 extern REAL_VALUE_TYPE dconst0;
437 extern REAL_VALUE_TYPE dconst1;
438 extern REAL_VALUE_TYPE dconst2;
439 extern REAL_VALUE_TYPE dconstm1;
440 extern REAL_VALUE_TYPE dconsthalf;
447 extern const REAL_VALUE_TYPE * dconst_e_ptr (void);
449 /* Returns the special REAL_VALUE_TYPE corresponding to 1/3. */
450 extern const REAL_VALUE_TYPE * dconst_third_ptr (void);
452 /* Returns the special REAL_VALUE_TYPE corresponding to sqrt(2). */
453 extern const REAL_VALUE_TYPE * dconst_sqrt2_ptr (void);
457 REAL_VALUE_TYPE real_value_from_int_cst (const_tree, const_tree);
466 extern rtx const_double_from_real_value (REAL_VALUE_TYPE, enum machine_mode);
469 extern bool exact_real_inverse (enum machine_mode, REAL_VALUE_TYPE *);
476 /* In tree.c: wrap up a REAL_VALUE_TYPE in a tree node. */
477 extern tree build_real (tree, REAL_VALUE_TYPE);
480 extern bool real_sqrt (REAL_VALUE_TYPE *, enum machine_mode,
481 const REAL_VALUE_TYPE *);
484 extern bool real_powi (REAL_VALUE_TYPE *, enum machine_mode,
485 const REAL_VALUE_TYPE *, HOST_WIDE_INT);
488 extern void real_trunc (REAL_VALUE_TYPE *, enum machine_mode,
489 const REAL_VALUE_TYPE *);
490 extern void real_floor (REAL_VALUE_TYPE *, enum machine_mode,
491 const REAL_VALUE_TYPE *);
492 extern void real_ceil (REAL_VALUE_TYPE *, enum machine_mode,
493 const REAL_VALUE_TYPE *);
494 extern void real_round (REAL_VALUE_TYPE *, enum machine_mode,
495 const REAL_VALUE_TYPE *);
498 extern void real_copysign (REAL_VALUE_TYPE *, const REAL_VALUE_TYPE *);
501 /* Convert between MPFR and REAL_VALUE_TYPE. The caller is
504 extern void real_from_mpfr (REAL_VALUE_TYPE *, mpfr_srcptr, tree, mp_rnd_t);
505 extern void mpfr_from_real (mpfr_ptr, const REAL_VALUE_TYPE *, mp_rnd_t);
509 extern bool real_isinteger (const REAL_VALUE_TYPE *c, enum machine_mode mode);