OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr41016.c] - Rev 300

Go to most recent revision | Compare with Previous | Blame | View Log

typedef struct _IO_FILE FILE;
void
CompareRNAStructures (FILE * ofp, int start, int L, char *ss_true, char *ss)
{
  int i;
  float agree = 0.;
  float pairs = 0.;
  float pairs_true = 0.;
  for (i = 0; i < L; i++)
    {
      pairs_true += 1.;
      agree += 1.;
    }
  if (((int) pairs % 2 != 0) || ((int) pairs_true % 2 != 0)
      || ((int) agree % 2 != 0))
    Die ("Error in CompareRNAStrutures(); odd number of paired nucleotides\n");
}
 

Go to most recent revision | 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.