/** * ieee-info num0 num1 num2 ... * Given floating point numbers, print out information on their parts. */ // +---------+-------------------------------------------------------- // | Headers | // +---------+ #include // For printf #include // For atof #include "ieee.h" // For all the fun IEEE utilities // +------+----------------------------------------------------------- // | Main | // +------+ int main (int argc, char *argv[]) { int i; // Still my favorite counter variable float f; // The float we're currently playing with // Describe each number provided on the command line for (i = 1; i < argc; i++) describe_float ((float) atof (argv[i])); // And we're done return 0; } // main