From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <270eda7700e017a3d79285a841a3450b@felloff.net> From: Ryan Gonzalez Date: Mon, 2 May 2016 14:27:56 -0500 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a1143206a7d5e6d0531e0fe0d Subject: Re: [9fans] store NaN() to memory traps on 386 (387) Topicbox-Message-UUID: 8e415882-ead9-11e9-9d60-3106f5b1d025 --001a1143206a7d5e6d0531e0fe0d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Not crash into a flaming ball of (very vague) fire? On Mon, May 2, 2016 at 2:17 PM, erik quanstrom wrote: > On Mon May 2 12:07:58 PDT 2016, cinap_lenrek@felloff.net wrote: > > > > > file under: awk was really designed for pre-posix unix. :-) > > > > its not just about awk. whenever you want to convert a string to > > a floating point number under plan9 you'll have to deal with this > > problem: > > > > cpu% seq nan > > seq 11791387: suicide: sys: fp: invalid operation fppc=3D0x2635 > status=3D0x8081 pc=3D0x0000122f > > that seems reasonable to me. what could seq possibly do with nan? > > - erik > > --=20 Ryan [ERROR]: Your autotools build scripts are 200 lines longer than your program. Something=E2=80=99s wrong. http://kirbyfan64.github.io/ --001a1143206a7d5e6d0531e0fe0d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Not crash into a flaming ball of (very vague) fire?
<= div class=3D"gmail_extra">
On Mon, May 2, 201= 6 at 2:17 PM, erik quanstrom <quanstro@quanstro.net> wro= te:
On Mon May=C2=A0 2 1= 2:07:58 PDT 2016, cinap_lenrek@= felloff.net wrote:
>
> > file under: awk was really designed for pre-posix unix.=C2=A0 :-)=
>
> its not just about awk. whenever you want to convert a string to
> a floating point number under plan9 you'll have to deal with this<= br> > problem:
>
> cpu% seq nan
> seq 11791387: suicide: sys: fp: invalid operation fppc=3D0x2635 status= =3D0x8081 pc=3D0x0000122f

that seems reasonable to me.=C2=A0 what could seq possibly do with n= an?

- erik




--
Ryan
[ERROR]: Your aut= otools build scripts are 200 lines longer than your program. Something=E2= =80=99s wrong.
--001a1143206a7d5e6d0531e0fe0d--