Path: utzoo!utgpu!watserv1!watsci!semicon From: semicon@watsci.uwaterloo.ca (Robert Adsett) Newsgroups: comp.lang.c Subject: Re: Turbo-C oddity Message-ID: <701@watserv1.waterloo.edu> Date: 22 Jan 90 23:19:08 GMT References: Sender: daemon@watserv1.waterloo.edu Reply-To: semicon@watsci.UUCP (Robert Adsett) Organization: University of Waterloo, Waterloo Ontario, Canada Lines: 16 In article bg0l+@andrew.cmu.edu (Bruce E. Golightly) writes: >I just got hold of Turbo-C, and am having a little problem. I cannot get ... >In particular, a program that references atof compiles and links cleanly, >but fails at run time with a message about the floating point formats not >being linked. The program does include the math.h header file, and appears This is a bug in Turbo-C. There is a patch available for it (in the directory PD1: on SIMTEL20 and probably elsewhere). A temporary work around until you get & apply the patch is to place the line (void)exp(1.0); in your code. That will force the loading of the appropriate formats. -- Robert Adsett Dept. of Phys, Univ. of Waterloo, Waterloo Ont. Canada