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.221042.29690@oxtrap.aa.ox.com> Date: 16 Nov 89 22:10:42 GMT Reply-To: tc@oxtrap.UUCP (Tse Chih Chao) Organization: Ocwen Trading, Inc. Lines: 42 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); }