Re: Integers and standard



Richard Maine wrote:
(snip)

I don't think you are going to get people to go both ways at once on
that. Either they are bit patterns or they are numeric, but not both at
the same time. Bit patterns don't have signs; as soon as you say that
there is a sign, it must be numeric instead of just a bit pattern.

I wasn't really trying to go both ways at once, but
to be flexible. I prefer the bit patterns, but if that is
too machine dependent, then allow negation.

For C they are fairly often used for bit patterns for
bitwise operators. I think in Fortran I have seen them
(in the past) used more for bit patterns to generate
specific (machine dependent) real numbers.

-- glen

.


Quantcast