CMU Artificial Intelligence Repository
Home INFO Search FAQs Repository Root

ATOF: PARSE-FLOAT, a Common Lisp implementation of ATOF

lang/lisp/code/math/atof/
PARSE-FLOAT converts a string to a floating point number, if possible. It is the Common Lisp equivalent of C's ATOF, with several extensions. PARSE-FLOAT returns the floating point number, if any, and the index for the first character after the number.
Origin:   

   ftp.cs.cmu.edu:/user/ai/lang/lisp/code/math/atof/

Version: 25-AUG-94 Requires: Common Lisp Copying: Copyright (c) 1994 by Mark Kantrowitz Use, copying, modification, and distribution permitted. See the copyright notice in the source for details. Updated: Thu Aug 25 00:59:23 1994 CD-ROM: Author(s): Mark Kantrowitz Keywords: ATOF, Authors!Kantrowitz, Floating Point Numbers, Lisp!Math, Math References: ?
Last Web update on Mon Feb 13 10:30:15 1995
AI.Repository@cs.cmu.edu