Ignore:
Timestamp:
Aug 20, 2010, 5:51:00 AM (13 years ago)
Author:
Peter
Message:

prefer casting to double first and then multiply rather than the opposite. fixes #638

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.6-stable/test/fisher_test.cc

    r2314 r2315  
    123123void test_large_numbers(test::Suite& suite)
    124124{
     125  // skip test if unsigned int is 16 bit
     126  if (UINT_MAX == ( 1 << 16))
     127    return;
     128
    125129  statistics::Fisher f;
    126130  double oddsratio = f.oddsratio(1166,63326825-1166,1095,66074759-1095);
     
    130134    suite.xadd(false);
    131135  }
    132 
     136  f.p_value();
     137  f.p_value_one_sided();
    133138}
Note: See TracChangeset for help on using the changeset viewer.