home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / c / 18940 < prev    next >
Encoding:
Text File  |  1992-12-28  |  1.3 KB  |  38 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!mksol!mccall
  3. From: mccall@mksol.dseg.ti.com (fred j mccall 575-3539)
  4. Subject: Re: Float point format not loaded?
  5. Message-ID: <1992Dec28.174634.15432@mksol.dseg.ti.com>
  6. Organization: Texas Instruments Inc
  7. References: <1he75eINNmlg@uwm.edu>
  8. Date: Mon, 28 Dec 1992 17:46:34 GMT
  9. Lines: 27
  10.  
  11. In <1he75eINNmlg@uwm.edu> pegasus@csd4.csd.uwm.edu (David R Hucke) writes:
  12.  
  13. >Hi everybody!
  14.  
  15. >I am having a problem with Turbo C 2.0.
  16.  
  17. >I am writing a program that does some float calculations and when I run the
  18. >program I get a run-time error saying:  Floating point formats not loaded.
  19. >Abnormal termination.
  20.  
  21. >I have included math.h  float.h and even declared a float variable.
  22.  
  23. >The problem appears on a scanf instruction.
  24.  
  25. >Any ideas how to clear up this little problem?
  26.  
  27. Try DOING something with the fp variable that you declared (assign to
  28. it or something).  Otherwise, the floating point libraries don't get
  29. linked in.
  30.  
  31. I think this may be in the FAQ -- it is asked that often.
  32.  
  33. -- 
  34. "Insisting on perfect safety is for people who don't have the balls to live
  35.  in the real world."   -- Mary Shafer, NASA Ames Dryden
  36. ------------------------------------------------------------------------------
  37. Fred.McCall@dseg.ti.com - I don't speak for others and they don't speak for me.
  38.