Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!daemon From: prindle@nadc Newsgroups: comp.sys.cbm Subject: C Power 128 query Message-ID: <1861@rutgers.rutgers.edu> Date: Fri, 15-May-87 14:06:36 EDT Article-I.D.: rutgers.1861 Posted: Fri May 15 14:06:36 1987 Date-Received: Sat, 16-May-87 23:37:52 EDT Sender: daemon@rutgers.rutgers.edu Lines: 26 From: prindle@NADC Has any user of "C Power 128" been able to obtain the fix to the "floating point to integer conversion problem"? Supposedly, it has been fixed by the author, but I just can't seem to locate the fix (I believe it would be in library function "conv52" or "cnvfi"). Briefly, the problem is: main() { int i; float f; f=123.4; i=(int)f; /*the (int) is optional in this case*/ printf("i=%d\n",i); /*should print 123*/ } prints garbage for "i"! I wrote to the company describing this and many other bugs in "C Power 128". All other significant bugs were fixed and the repaired files posted to the C Power BBS. Not so the fix to the bug above. Any clues? Sincerely, Frank Prindle Prindle@NADDBprogr