#ifndef __IEEE_H__ #define __IEEE_H__ /** * ieee.h - Lots of fun utilities for working with IEEE floating-point * representation. */ /** * Get the sign from the bit representation of a float */ int ieee32_sign (float f); /** * Get the exponent from the bit representation of a float. */ int ieee32_exponent (float f); /** * Get the value of the significand, given a particular value for the hidden * bit. */ float ieee32_significand (float f, int hidden); /** * Describe a floating-point number. */ void describe_float (float f); #endif // __IEEE_H__