Path: utzoo!utgpu!watmath!iuvax!mailrus!shadooby!oxtrap!tc From: tc@oxtrap.aa.ox.com (Tse Chih Chao) Newsgroups: comp.sys.isis Subject: Bugs in interacting with the formatted output conversion functions ? Message-ID: <1989Nov16.221608.29876@oxtrap.aa.ox.com> Date: 16 Nov 89 22:16:08 GMT Organization: Ocwen Trading, Inc. Lines: 150 The following small program does not work under isis and it gives the following output: sprintf float is: 0.000000 printf float is 0.000000 90.25 is : 0.000000 90.25 in fprintf is: 0.000000 It works ok without isis. It seems to me that there is no separate xprintf functions defined in the isis libraries. ------------------------cut here--------------------------------------- #include maintask() { float r; char str[50]; isis_start_done(); r=90.25; sprintf(str, "%f", r); printf("sprintf float is: %s\n printf float is %f\n", str, r); printf("90.25 is : %f\n", 90.25); fprintf(stdout, "90.25 in fprintf is: %f\n", 90.25); exit(); } main() { isis_init(0); isis_task(maintask, "main_task"); isis_mainloop(maintask); exit(0); } Path: oxtrap!tc From: tc@oxtrap.ox.com (Tse Chih Chao) Message-ID: Date: 16 Nov 89 17:03:16 Organization: Ocwen Trading Inc. - Ann Arbor, MI Path: oxtrap!tc From: tc@oxtrap.ox.com (Tse Chih Chao) Message-ID: Date: 16 Nov 89 16:54:16 Organization: Ocwen Trading Inc. - Ann Arbor, MI Newsgroups: comp.sys.isis Subject: Bugs in interacting with the formatted output conversion functions ? Distribution: comp The following small program does not work under isis and it gives the following output: sprintf float is: 0.000000 printf float is 0.000000 90.25 is : 0.000000 90.25 in fprintf is: 0.000000 It works ok without isis. It seems to me that there is no separate xprintf functions defined in the isis libraries. ------------------------cut here--------------------------------------- #include maintask() { float r; char str[50]; isis_start_done(); r=90.25; sprintf(str, "%f", r); printf("sprintf float is: %s\n printf float is %f\n", str, r); printf("90.25 is : %f\n", 90.25); fprintf(stdout, "90.25 in fprintf is: %f\n", 90.25); exit(); } main() { isis_init(0); isis_task(maintask, "main_task"); isis_mainloop(maintask); exit(0); } Newsgroups: comp.sys.isis Subject: Bugs in interacting with the formatted output conversion functions ? Expires: References: Sender: Reply-To: tc@oxtrap.UUCP (Tse Chih Chao) Followup-To: Distribution: Organization: Ocwen Trading, Inc. Keywords: The following small program does not work under isis and it gives the following output: sprintf float is: 0.000000 printf float is 0.000000 90.25 is : 0.000000 90.25 in fprintf is: 0.000000 It works ok without isis. It seems to me that there is no separate xprintf functions defined in the isis libraries. ------------------------cut here--------------------------------------- #include maintask() { float r; char str[50]; isis_start_done(); r=90.25; sprintf(str, "%f", r); printf("sprintf float is: %s\n printf float is %f\n", str, r); printf("90.25 is : %f\n", 90.25); fprintf(stdout, "90.25 in fprintf is: %f\n", 90.25); exit(); } main() { isis_init(0); isis_task(maintask, "main_task"); isis_mainloop(maintask); exit(0); }