2 #include <UnitTest++.h>
14 for(
int i=0; i < 4096; ++i )
19 sprintf( buf,
" %.16e", x );
21 double y =
FFmtRead( buf, &j, 128, &lgEol );
30 for(
int i=0; i < 2048; ++i )
41 for(
int i=0; i < 1024; ++i )
47 CHECK(
fp_equal(
powpq(arg1,arg2,arg3),
pow(arg1,(
double)arg2/(
double)arg3), 128 ) );
49 for(
int i=0; i < 1024; ++i )
54 CHECK(
fp_equal(
powpq(arg1,arg2,arg3),
pow(arg1,(
double)arg2/(
double)arg3), 128 ) );
unsigned long genrand_int32()
bool fp_equal(sys_float x, sys_float y, int n=3)
double powi(double, long int)
double powpq(double x, int p, int q)
double pow(double x, int i)
void init_genrand(unsigned long s)
double FFmtRead(const char *chCard, long int *ipnt, long int last, bool *lgEOL)