#include #include #include #include "expt.h" main() { int i; for(i = 0; i < 1000; i++) { if (expt(2,i) != pow(2,i)) printf("Problem! %f != %f\n", expt(2,i), pow(2,i)); } exit(EXIT_SUCCESS); }