On Mon Jan 28 22:29:14 EST 2013, [email protected] wrote: > 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.
that's what i did. it turns out there are number of other places to fix, too. (the cheat version is "volatile". :-)) - erik
