Xref: utzoo comp.bugs.sys5:1376 comp.unix.sysv386:3007 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!uunet!bu.edu!att!cbnewsl!cbnewsk!pegasus!hansen From: hansen@pegasus.att.com (Tony L. Hansen) Newsgroups: comp.bugs.sys5,comp.unix.sysv386 Subject: Re: using "cb" causes problems with floating-point numbers Summary: fixed in SVr4 Keywords: cb Message-ID: <1990Dec13.193610.25629@cbnewsk.att.com> Date: 13 Dec 90 19:36:10 GMT References: <1990Dec11.022300.313@vort.uucp> Sender: hansen@cbnewsk.att.com (tony.l.hansen) Distribution: na Organization: AT&T Bell Laboratories Lines: 18 < % cat a.c < #include < main() { float a; a = 10e-3; printf("a = %f\n", a); } < % cb -s < a.c < #include < main() < { < float a; < < a = 10e - 3; /* <--- !!! */ < printf("a = %f\n", a); < } This problem has been fixed in System V release 4. Tony Hansen att!pegasus!hansen, attmail!tony hansen@pegasus.att.com