Turbo-C oddity

Robert Adsett semicon at watsci.uwaterloo.ca
Tue Jan 23 10:19:08 AEST 1990


In article <QZinytG00WB7IjnWNO at andrew.cmu.edu> bg0l+ at 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:<msdos.turbo-c> 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  <semicon at watsci.UWaterloo.ca>
		Dept. of Phys, Univ. of Waterloo, Waterloo Ont. Canada



More information about the Comp.lang.c mailing list