Mail Archives: djgpp/1998/08/22/18:50:33
Stephen Snape wrote:
> DJGPP won't let this happen. I can't access a bit in a double, why? It
> keeps saying invalid operand to binary, and it's driving me mad.
You can only bitshift integers, not floating points. The reason is
pretty obvious -- bitshifting is well-defined and meaningful for
integers, but not so for floating point. After all, there are some bit
patterns that don't correspond to _any_ valid floating point number.
> Thanks in advance, reply in e mail if you want,
[Posted and emailed.]
--
Erik Max Francis / email max AT alcyone DOT com / whois mf303 / icq 16063900
Alcyone Systems / irc maxxon (efnet) / finger max AT sade DOT alcyone DOT com
San Jose, CA / languages En, Eo / web http://www.alcyone.com/max/
USA / icbm 37 20 07 N 121 53 38 W / &tSftDotIotE
\
/ Shooters, looters; now I got a laptop computer
/ Ice Cube
- Raw text -