On 06-09-30, at 11:11, Eero Saynatkari wrote: > On 2006.09.30 18:25, Paul Lutus wrote: >> Wes Gamble wrote: >> >>> Today I discovered the difference in the meaning of the / >>> (arithmetic >>> divide) method depending on whether it's caller is an integer or a >>> float. >> >> Not exactly. The result is expressed in the type of the more >> precise of the >> two operands. > > Actually, integers are more precise than IEEE floating points > since 2.2 - 1.2 != 1.0 :) s/precise/accurate ! Not on all platforms. For instance, in Ocaml, it's true: # 2. -. 1. = 1.;; - : bool = true -- Jeremy Tregunna jtregunna / blurgle.ca