9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 5i floating point?
@ 2012-05-09 14:22 Comeau At9Fans
  2012-05-09 14:36 ` cinap_lenrek
  0 siblings, 1 reply; 15+ messages in thread
From: Comeau At9Fans @ 2012-05-09 14:22 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 533 bytes --]

>From 9vx.OSX if I compile this

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

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?

[-- Attachment #2: Type: text/html, Size: 849 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-05-14  8:12 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAE9W7-hWmuF5_s6=q=JVg=Gs6E0WtUs-nVUT=MRAp6QASejR-g@mail.gmail.c>
2012-05-09 14:30 ` [9fans] 5i floating point? erik quanstrom
2012-05-09 14:22 Comeau At9Fans
2012-05-09 14:36 ` cinap_lenrek
2012-05-09 14:47   ` Comeau At9Fans
2012-05-09 15:11     ` David du Colombier
2012-05-09 15:24       ` Comeau At9Fans
2012-05-09 15:34         ` David du Colombier
2012-05-09 15:54           ` Comeau At9Fans
2012-05-09 16:03             ` David du Colombier
2012-05-09 18:06               ` Comeau At9Fans
2012-05-10 12:24                 ` Comeau At9Fans
2012-05-09 16:36   ` erik quanstrom
2012-05-09 17:18     ` Charles Forsyth
2012-05-14  3:34     ` Ethan Grammatikidis
2012-05-14  8:12       ` Charles Forsyth

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).