Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!rosie!next.com From: mmeyer@next.com (Morris Meyer) Newsgroups: comp.sys.next Subject: Re: strtod on the NeXT Message-ID: <688@rosie.NeXT.COM> Date: 8 May 91 04:40:05 GMT References: Sender: news@NeXT.COM Reply-To: mmeyer@next.com (Morris Meyer) Lines: 33 Nntp-Posting-Host: cauldron.next.com In article jesperse@nas.nasa.gov (Dennis Jespersen) writes: > > Following up on my own article: > >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? > > strtod is defined in /usr/include/stdlib.h as: > extern double strtod(const char *nptr, char **endptr); > > There doesn't seem to be a man page for it, however. The second > question (does strtod behave correctly on the NeXT) is still open. > -- > Dennis Jespersen > email: jesperse@rft28.nas.nasa.gov strtod behaves correctly in 2.1. The behaviour of strtod matches (now) the strtod() description in K&R Version 2. There should definately be a manpage for it. As always, fixed in the next release. --morris -- Morris Meyer NeXT, Inc. Software Engineer 900 Chesapeake Drive NeXT OS Group Redwood City, CA 94063 mmeyer@next.com Success comes from taking the path of maximum advantage instead of the path of least resistance. George Bernard Shaw