home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!caen!kuhub.cc.ukans.edu!nrlvx1.nrl.navy.mil!donohue
- Newsgroups: comp.lang.c
- Subject: turbo C question
- Message-ID: <1992Dec18.111308.890@nrlvx1.nrl.navy.mil>
- From: donohue@nrlvx1.nrl.navy.mil
- Date: 18 Dec 92 11:13:08 -0400
- Organization: NRL SPACE SYSTEMS DIVISION
- Lines: 17
-
- I have a question for anybody who might know the answer to.
-
- In borland turbo C 2.01, I am using the atoi() and atof()
- functions. However, when I call the function that contain these
- 2 stdlib functions, I get the following error:
-
- Floating point error: domain
-
- I am calling this function in order to enter a string and convet
- to a number if it is one. It accepts the string input, but then
- that error occurs. Does anybody know how to avoid this or how to
- fix it. I realize this is difficult to answer without seeing the
- code, but any ideas would be useful.
-
- Please Help!
-
- Thanks
-