From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Date: Wed, 9 May 2012 10:22:03 -0400 Message-ID: From: Comeau At9Fans To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=14dae939986d2e4ace04bf9b3a0d Subject: [9fans] 5i floating point? Topicbox-Message-UUID: 86026cbc-ead7-11e9-9d60-3106f5b1d025 --14dae939986d2e4ace04bf9b3a0d Content-Type: text/plain; charset=ISO-8859-1 >>From 9vx.OSX if I compile this #include #include void main(void) { float f = 99.99; exits(0); } with 5c/5l and then 5i it, it gives: undefined instruction trap pc #102c inst ed9b0100 class 92 Is floating point supported with 5i? -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE ==> http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C++ with Dinkumware's Libraries... Have you tried it? --14dae939986d2e4ace04bf9b3a0d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
From 9vx.OSX if I compile this

#include <u= .h>
#include <libc.h>

void main= (void)
{
=A0 float f =3D 99.99;
=A0 exits(0);=
}

with 5c/5l and then 5i it, it gives:
<= div>
=A0 undefined instruction trap pc #102c inst ed9b0100 cl= ass 92

Is floating point supported with 5i?

--
Greg Comeau / 4.3.10.1 with C++0xisms now in bet= a!
Comeau C/C++ ONLINE =3D=3D> =A0 =A0 http://www.comeaucomputing.c= om/tryitout
World Class Compilers: =A0Breathtaking C++, Amazing C99, Fabulous C90.=
Comeau C/C++ with Dinkumware's Libraries... Have you tried i= t?

--14dae939986d2e4ace04bf9b3a0d--