Mail Archives: djgpp/1997/03/11/18:54:35
James Shatto wrote:
>
> both of these return the same error, hmf and hf are float integers.
> Please help...I can't get this thing to work...
>
major confusion ... float integer is an oxymoron.
integer signifies that your variable can only take values that are
elements of the set of signed integers
Z = { ... -3, -2, -1, 0, 1, 2, 3 ...}, or unsigned integers
C = {0, 1, 2, 3, ...}. (i am not sure about the terminology in the US,
but in grade school, we were taugh that the latter set is called the set
of 'counting numbers'. variables of type float or double can take on any
real value (strictly speaking this is not true, for example, 0 does not
have an exact representation.). on computers, the values your variables
(real or integer) can take on are restricted by the representation the
compiler uses.
any clearer?
-- Sinan
*******************************************************************
A. Sinan Unur WWWWWW
|--O+O
mailto:sinan DOT unur AT cornell DOT edu C ^
http://www.people.cornell.edu/pages/asu1/ \ ~/
*******************************************************************
- Raw text -