1 2/* 3=============================================================================== 4 5This C header file is part of TestFloat, Release 2a, a package of programs 6for testing the correctness of floating-point arithmetic complying to the 7IEC/IEEE Standard for Floating-Point. 8 9Written by John R. Hauser. More information is available through the Web 10page `http://HTTP.CS.Berkeley.EDU/~jhauser/arithmetic/TestFloat.html'. 11 12THIS SOFTWARE IS DISTRIBUTED AS IS, FOR FREE. Although reasonable effort 13has been made to avoid it, THIS SOFTWARE MAY CONTAIN FAULTS THAT WILL AT 14TIMES RESULT IN INCORRECT BEHAVIOR. USE OF THIS SOFTWARE IS RESTRICTED TO 15PERSONS AND ORGANIZATIONS WHO CAN AND WILL TAKE FULL RESPONSIBILITY FOR ANY 16AND ALL LOSSES, COSTS, OR OTHER PROBLEMS ARISING FROM ITS USE. 17 18Derivative works are acceptable, even for commercial purposes, so long as 19(1) they include prominent notice that the work is derivative, and (2) they 20include prominent notice akin to these four paragraphs for those parts of 21this code that are retained. 22 23=============================================================================== 24*/ 25 26void testCases_setLevel( int8 ); 27 28void testCases_initSequence( int8 ); 29enum { 30 testCases_sequence_a_int32, 31#ifdef BITS64 32 testCases_sequence_a_int64, 33#endif 34 testCases_sequence_a_float32, 35 testCases_sequence_ab_float32, 36 testCases_sequence_a_float64, 37 testCases_sequence_ab_float64, 38#ifdef FLOATX80 39 testCases_sequence_a_floatx80, 40 testCases_sequence_ab_floatx80, 41#endif 42#ifdef FLOAT128 43 testCases_sequence_a_float128, 44 testCases_sequence_ab_float128, 45#endif 46}; 47 48extern uint32 testCases_total; 49extern flag testCases_done; 50 51void testCases_next( void ); 52 53extern int32 testCases_a_int32; 54#ifdef BITS64 55extern int64 testCases_a_int64; 56#endif 57extern float32 testCases_a_float32; 58extern float32 testCases_b_float32; 59extern float64 testCases_a_float64; 60extern float64 testCases_b_float64; 61#ifdef FLOATX80 62extern floatx80 testCases_a_floatx80; 63extern floatx80 testCases_b_floatx80; 64#endif 65#ifdef FLOAT128 66extern float128 testCases_a_float128; 67extern float128 testCases_b_float128; 68#endif 69 70