[comp.sources.wanted] source to "strtod"

karl@ficc.ferranti.com (Karl Lehenbauer) (03/14/91)

I need source to the "strtod" routine, it converts a string to a double,
but also sets a pointer indicating where conversion stopped.  It should
be part of the free Berkeley stuff.  Could someone send me a copy?

Tcl now has support for floating point, but we need strtod for our
ossupport library, because not every implementation has it...
-- 
-- "If it ain't too broke, don't fix it."  -- me, with apologies to Bert Lantz
	Save Twin Peaks!!

jik@athena.mit.edu (Jonathan I. Kamens) (03/15/91)

In article <GS.9434@xds12.ferranti.com>, karl@ficc.ferranti.com (Karl Lehenbauer) writes:
|> I need source to the "strtod" routine, it converts a string to a double,
|> but also sets a pointer indicating where conversion stopped.  It should
|> be part of the free Berkeley stuff.  Could someone send me a copy?

  Log into "quiche.cs.mcgill.ca" as "archie" and type "set search subcase" and
then "prog subcase".

  You will see several entries from which you can get what you want.

  (Including an entry from the comp.sources.misc archives, which you should
have checked before posting this message.)

  (If you don't have internet access, then send a message with body "prog
strtod" to "archie@quiche.cs.mcgill.ca".)

-- 
Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik@Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8085			      Home: 617-782-0710