Hello all. Here's the subject:
Okay, 'direct computation' for (unsigned) integer numbers means 2^n where n is a number of bits for type. But what would it look like for floating-point numbers? Also I would very appreciate any good pointers to where I can find out about machine floating-point representation in great detail, since I'm very short in knowledge about it.Exercise 2-1. Write a program to determine the ranges of char, short, int, and long
variables, both signed and unsigned, by printing appropriate values from standard headers
and by direct computation. Harder if you compute them: determine the ranges of the various
floating-point types.