Path: utzoo!mnetor!tmsoft!torsqnt!jarvis.csri.toronto.edu!rutgers!ucsd!usc!gem.mps.ohio-state.edu!think!ames!amdahl!pacbell!indetech!sharkey!shadooby!oxtrap!oxtrap!tc From: tc@oxtrap.ox.com (Tse Chih Chao) Newsgroups: comp.sys.isis Subject: Bugs in interacting with the formatted output conversion functions ? Message-ID: Date: 16 Nov 89 16:54:16 GMT Sender: tc@oxtrap.aa.ox.com (Tse Chih Chao) Distribution: comp Organization: Ocwen Trading Inc. - Ann Arbor, MI Lines: 41 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); }