Re: [pure-lang-users] complex 0
Status: Beta
Brought to you by:
agraef
|
From: John C. <co...@cc...> - 2008-09-09 13:23:46
|
Albert Graef scripsit: > Yes, that's because int args of those floating point operations are > generally promoted to double. It's the most sensible way to do it. The > same is true for / (which is *always* an inexact floating point division > in Pure, just like in C). If only. In fact, int/int in C is truncating integer division, but that's okay, because C is obviously broken there. I know Pure is supposed to "do it the C way", but that's carrying things too far. -- How they ever reached any conclusion at all <co...@cc...> is starkly unknowable to the human mind. http://www.ccil.org/~cowan --"Backstage Lensman", Randall Garrett |