9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Charles Forsyth <charles.forsyth@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] fp crash
Date: Tue, 29 Jan 2013 03:27:33 +0000	[thread overview]
Message-ID: <CAOw7k5i5VY9hhu0MG+vV9y_DZDomUeVR3nm=mXygivrdz+U5vw@mail.gmail.com> (raw)
In-Reply-To: <793f14df8ad879b262808fa833a03c0c@ladd.quanstro.net>

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.



  reply	other threads:[~2013-01-29  3:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-28 23:37 erik quanstrom
2013-01-28 23:50 ` Charles Forsyth
2013-01-29  0:08   ` erik quanstrom
2013-01-29  1:41     ` erik quanstrom
2013-01-29  3:27       ` Charles Forsyth [this message]
2013-01-29  3:34         ` erik quanstrom
2013-01-29 17:17           ` Charles Forsyth
2013-01-29 17:19             ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOw7k5i5VY9hhu0MG+vV9y_DZDomUeVR3nm=mXygivrdz+U5vw@mail.gmail.com' \
    --to=charles.forsyth@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).