/* test_inversef.c tough matrix to invert accurately */ #include #include "inversef.h" #define abs(a) ((a)<0.0?(-(a)):(a)) static float AA[1048576]; static float AI[1048576]; static float II[1048576]; int main(int argc, char * argv[]) { int i, j, k, n; float err; printf("test_inversef.c on tough matrix to invert \n"); n = 1; while(n < 1024) { n=n*2; printf("initializing big matrix, n=%d, n*n=%d \n", n, n*n); for(i=0; i