26 lines
482 B
C
26 lines
482 B
C
#ifndef TEST_H
|
|
#define TEST_H
|
|
|
|
#define PASSED 0
|
|
#define FAILED 1
|
|
|
|
/* Access bit-level representation of floating-point number */
|
|
typedef unsigned float_bits;
|
|
|
|
int signed_high_prod(int, int);
|
|
|
|
int odd_ones(unsigned);
|
|
int leftmost_one(unsigned);
|
|
unsigned unsigned_high_prod(unsigned, unsigned);
|
|
int threefourths(int);
|
|
float_bits float_half(float_bits);
|
|
float_bits float_i2f(int);
|
|
|
|
int test_65();
|
|
int test_66();
|
|
int test_75(int);
|
|
int test_80(int);
|
|
int test_95();
|
|
int test_97();
|
|
|
|
#endif |