Re: C2124 is most disrespectful of IEEE floating point arithmetic



"Dr Pizza" <DrPizza@xxxxxxxxxxxxxxxxx> wrote in message
news:xn0eqk3yw2fzzi9008@xxxxxxxxxxxxxxxxxxxxxxx

What are you talking about? According to the mathematical rules for
floating point numbers (which are NOT the rules for real numbers) the
result is both defined and representable.
Agreed... However, C++ standards says that if the expression is not
*mathematically* defined the behavior is undefined
No floating point or IEEE standard is involved in this statement...

--
Abdo Haji-Ali
Programmer
In|Framez


.



Relevant Pages


Loading