Re: c,c++
On Thu, 13 Sep 2007 15:14:30 +0200, Charlie Gordon wrote:
There is one thing we know about C/C++ : it invokes undefined behaviour in
both C and C++.
Sure? C is only modified once...
Unless C is 0, a NaN, or an infinity, it is equivalent to (++C, 1).
Or is it?
--
Army1987 (Replace "NOSPAM" with "email")
If you're sending e-mail from a Windows machine, turn off Microsoft's
stupid “Smart Quotes” feature. This is so you'll avoid sprinkling garbage
characters through your mail. -- Eric S. Raymond and Rick Moen
.
Relevant Pages
- Re: Calculus XOR Probability
... have a number, so it's NaN. ... What kind of math can you do on a Java ... similarly any operation involving an infinity operand results in either ... You described counting the size of a finite set. ... (sci.math) - Re: Perl WTF
... Strings that start with 'inf' are being interpreted as infinity (because ... Strings that start with 'nan' are being interpreted as nan (because the ... By the rules of IEEE floating point arithmetic, ... (comp.lang.perl.misc) - Re: Calculus XOR Probability
... have a number, so it's NaN. ... What kind of math can you do on a Java ... similarly any operation involving an infinity operand results in either ... You described counting the size of a finite set. ... (sci.math) - Re: testing for floating point equality
... possible exponent values in single precision and 2 out of 2048 values ... The other reserved value is used to encode infinity, ... 0.0/0.0 or infinity/infinity yields NaN. ... Having a representation for infinity ... (comp.lang.fortran) - Re: math.nroot [was Re: A brief question.]
... floating point if everyone wrote in hex - indeed, i believe that C99 has hex floating-point literals. ... py> inf inf ... bit-pattern and call it NaN, but mathematically subtracting infinity from infinity is not defined. ... (comp.lang.python) |
|