using "cb" causes problems with floating-point numbers
Tony L. Hansen
hansen at pegasus.att.com
Fri Dec 14 06:36:10 AEST 1990
< % cat a.c
< #include <stdio.h>
< main() { float a; a = 10e-3; printf("a = %f\n", a); }
< % cb -s < a.c
< #include <stdio.h>
< 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 at pegasus.att.com
More information about the Comp.unix.sysv386
mailing list