From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <793f14df8ad879b262808fa833a03c0c@ladd.quanstro.net> References: <4deb4818bb26c316406212a8d1146e14@ladd.quanstro.net> <1d8d7862b8cec2fabf4908f74cee6d7a@ladd.quanstro.net> <793f14df8ad879b262808fa833a03c0c@ladd.quanstro.net> Date: Tue, 29 Jan 2013 03:27:33 +0000 Message-ID: From: Charles Forsyth To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] fp crash Topicbox-Message-UUID: 10e833ac-ead8-11e9-9d60-3106f5b1d025 I looked it up and the change made in Inferno's dtoa.c is shown below: 148,154c1380,1381 < d2.d = d.d; < word0(d2) &= Frac_mask1; < word0(d2) |= Exp_11; --- > word0(d2) = (word0(d) & Frac_mask1) | Exp_11; > word1(d2) = word1(d); in other words, it extracts and sets each word, rather than assign as one type and then access the same cell as a different type.