home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / c / 18634 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  876 b 

  1. Path: sparky!uunet!caen!kuhub.cc.ukans.edu!nrlvx1.nrl.navy.mil!donohue
  2. Newsgroups: comp.lang.c
  3. Subject: turbo C question
  4. Message-ID: <1992Dec18.111308.890@nrlvx1.nrl.navy.mil>
  5. From: donohue@nrlvx1.nrl.navy.mil
  6. Date: 18 Dec 92 11:13:08 -0400
  7. Organization: NRL SPACE SYSTEMS DIVISION
  8. Lines: 17
  9.  
  10. I have a question for anybody who might know the answer to.
  11.  
  12. In borland turbo C 2.01, I am using the atoi() and atof()
  13. functions.  However, when I call the function that contain these
  14. 2 stdlib functions, I get the following error:
  15.  
  16. Floating point error: domain
  17.  
  18. I am calling this function in order to enter a string and convet
  19. to a number if it is one.  It accepts the string input, but then
  20. that error occurs.  Does anybody know how to avoid this or how to
  21. fix it.  I realize this is difficult to answer without seeing the
  22. code, but any ideas would be useful.
  23.  
  24. Please Help!
  25.  
  26. Thanks
  27.