/* WARNING: This file was generated by dkct. Changes you make here will be lost if dkct is run again! You should modify the original source and run dkct on it. Original source: test-dk4c8dbl.ctr */ /** @file test-dk4c8dbl.c The test-dk4c8dbl module. */ #line 1 "test-dk4c8dbl.ctr" #include #include "dk4c8dbl.h" #line 8 "test-dk4c8dbl.ctr" static const char * const test_strings[] = { /* 0 */ "1.0", /* 1 */ "0.1", /* 2 */ "0.01", /* 3 */ "10.0", /* 4 */ "100.0", /* 5 */ "1.00500", /* 6 */ "0.10500", /* 7 */ "0.010500", /* 8 */ "10.00500", /* 9 */ "100.00500", /* 10 */ "100.00500e-5", /* 11 */ "100.00500e-4", /* 12 */ "100.00500e-3", /* 13 */ "100.00500e-2", /* 14 */ "100.00500e-1", /* 15 */ "100.00500", /* 16 */ "100.00500e1", /* 17 */ "100.00500e2", /* 18 */ "100.00500e3", /* 19 */ "100.00500e4", /* 20 */ "100.00500e5", /* 21 */ "100.00500e6", /* 22 */ "100.00500e7", /* 23 */ "100.00500e8", /* 24 */ "100.00500e9", /* 25 */ "1.25e3", /* 26 */ "1.25e2", /* 27 */ "1.25e1", /* 28 */ "1.25e0", /* 29 */ "1.25e-1", /* 30 */ "1.25e-2", /* 31 */ "1.25e-3", /* 32 */ "-1.0", /* 33 */ "-0.1", /* 34 */ "-0.01", /* 35 */ "-10.0", /* 36 */ "-100.0", /* 37 */ "-1.00500", /* 38 */ "-0.10500", /* 39 */ "-0.010500", /* 40 */ "-10.00500", /* 41 */ "-100.00500", /* 42 */ "-100.00500e-5", /* 43 */ "-100.00500e-4", /* 44 */ "-100.00500e-3", /* 45 */ "-100.00500e-2", /* 46 */ "-100.00500e-1", /* 47 */ "-100.00500", /* 48 */ "-100.00500e1", /* 49 */ "-100.00500e2", /* 50 */ "-100.00500e3", /* 51 */ "-100.00500e4", /* 52 */ "-100.00500e5", /* 53 */ "-100.00500e6", /* 54 */ "-100.00500e7", /* 55 */ "-100.00500e8", /* 56 */ "-100.00500e9", /* 57 */ "-1.25e3", /* 58 */ "-1.25e2", /* 59 */ "-1.25e1", /* 60 */ "-1.25e0", /* 61 */ "-1.25e-1", /* 62 */ "-1.25e-2", /* 63 */ "-1.25e-3", /* 64 */ "000500e3", /* 65 */ "5.50500000", /* 66 */ "000500", NULL #line 81 "test-dk4c8dbl.ctr" }; int main(int argc, char *argv[]) { const char * const *ptr; #line 88 "test-dk4c8dbl.ctr" #line 89 "test-dk4c8dbl.ctr" ptr = test_strings; while (NULL != *ptr) { fputs(*ptr, stdout); fputc('\n', stdout); dk4c8dbl_str_double_to_file(stdout, *ptr, NULL); fputc('\n', stdout); fputc('\n', stdout); ptr++; } #line 99 "test-dk4c8dbl.ctr" #line 100 "test-dk4c8dbl.ctr" return 0; }