OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [dfp/] [dec-eval-method-2.c] - Rev 826

Compare with Previous | Blame | View Log

/* { dg-do compile } */
/* { dg-options "-D__STDC_WANT_DEC_FP__" } */
 
/* N1107 4: Characteristics of decimal floating types <float.h>.
   C99 5.2.4.2.2a[2] (New).
 
   Verify that DEC_EVAL_METHOD is defined by float.h.
   DEC_EVAL_METHOD in <float.h>.  */
 
#ifdef DEC_EVAL_METHOD
#error DEC_EVAL_METHOD is defined before float.h is included
#endif
 
#include <float.h>
 
#ifndef DEC_EVAL_METHOD
#error DEC_EVAL_METHOD is not defined after float.h is included
#endif
 
int i;
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.