OLD | NEW |
1 /* $Id: floatnum_test.c 1892 2007-07-13 20:56:28Z peter $ | 1 /* |
2 * | 2 * |
3 * Copyright (C) 2001-2007 Peter Johnson | 3 * Copyright (C) 2001-2007 Peter Johnson |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
11 * notice, this list of conditions and the following disclaimer in the | 11 * notice, this list of conditions and the following disclaimer in the |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
444 nf += runtest(get_single_normalized, get_family_setup, get_family_teardown); | 444 nf += runtest(get_single_normalized, get_family_setup, get_family_teardown); |
445 nf += runtest(get_single_normalized_edgecase, get_family_setup, get_family_t
eardown); | 445 nf += runtest(get_single_normalized_edgecase, get_family_setup, get_family_t
eardown); |
446 nf += runtest(get_double_normalized, get_family_setup, get_family_teardown); | 446 nf += runtest(get_double_normalized, get_family_setup, get_family_teardown); |
447 nf += runtest(get_double_normalized_edgecase, get_family_setup, get_family_t
eardown); | 447 nf += runtest(get_double_normalized_edgecase, get_family_setup, get_family_t
eardown); |
448 nf += runtest(get_extended_normalized, get_family_setup, get_family_teardown
); | 448 nf += runtest(get_extended_normalized, get_family_setup, get_family_teardown
); |
449 nf += runtest(get_extended_normalized_edgecase, get_family_setup, get_family
_teardown); | 449 nf += runtest(get_extended_normalized_edgecase, get_family_setup, get_family
_teardown); |
450 printf(" +%d-%d/8 %d%%\n%s", | 450 printf(" +%d-%d/8 %d%%\n%s", |
451 8-nf, nf, 100*(8-nf)/8, failed); | 451 8-nf, nf, 100*(8-nf)/8, failed); |
452 return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE; | 452 return (nf == 0) ? EXIT_SUCCESS : EXIT_FAILURE; |
453 } | 453 } |
OLD | NEW |