Path: utzoo!attcan!uunet!wa3wbu!john From: john@wa3wbu.UUCP (John Gayman) Newsgroups: comp.unix.microport Subject: Re: floating point under Microport Summary: what does it do ? Message-ID: <711@wa3wbu.UUCP> Date: 10 Dec 88 13:55:22 GMT References: <612@cimcor.mn.org> Organization: WA3WBU, Marysville,PA Lines: 37 In article <612@cimcor.mn.org>, mike@cimcor.mn.org (Michael Grenier) writes: > OK, if this is a compiler bug, I might finally admit that > SCO is better (and it will hurt too!). > > #include > main() > { > float a; > a=2.0; > printf("%f\n",a); > } > > > Does this work on anyone's 286? I'm not a C-guru so don't flame me but what is this code supposed to do if it works properly ? I compiled this code two different ways on my Sys V/AT 2.3U system. 1. cc -o test test.c -lm 2. cc -o test test.c When I run test, it just returns the cursor. No error, no nothing. Is this correct ? I've tried supplying an argument to "test" and it still just returns the cursor. I might add that my machine has a 80287 installed. John -- John Gayman, WA3WBU | UUCP: uunet!wa3wbu!john 1869 Valley Rd. | ARPA: john@wa3wbu.uu.net Marysville, PA 17053 | Packet: WA3WBU @ AK3P