Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!jarthur!nntp-server.caltech.edu!mustang!data.nas.nasa.gov!data!jesperse From: jesperse@nas.nasa.gov (Dennis Jespersen) Newsgroups: comp.sys.next Subject: strtod on the NeXT Summary: is the behavior of strtod on the NeXT documented and correct Message-ID: Date: 7 May 91 21:29:45 GMT Sender: news@nas.nasa.gov Distribution: comp Organization: Computational Fluid Dynamics Branch, NASA Ames Research Center Lines: 23 This is for a colleague: on NeXT with 2.0 the function strtod is in libsys_s.a (it's supposed to convert a string to a double precision number). First question: we can't find any documentation for strtod on the NeXT; is there any? Continuing, on various other machines (SUN, SGI, e.g.) there is documentation on strtod: double strtod(str, ptr) char *str, **ptr; and a description of how it is supposed to function. My colleague claims the NeXT strtod does not function as it is supposed to (ptr is wrong in some cases). Second question: is there a bug in strtod on the NeXT? -- Dennis Jespersen MS 202A-1 NASA Ames Research Center Moffett Field, CA 94035-1000 Voice: (415) 604-6742 FAX: (415) 604-1095 email: jesperse@rft28.nas.nasa.gov We have met the enemy and he is us. -- Pogo