parse-number

API Reference

parse-number

Number parsing library

ORG.MAPCAR.PARSE-NUMBER

  • Condition INVALID-NUMBER  (PARSE-ERROR)
  • Function PARSE-NUMBER (string &key (start 0) (end nil) (radix 10) ((float-format *read-default-float-format*) *read-default-float-format*))
    Given a string, and start, end, and radix parameters, produce a number according to the syntax definitions in the Common Lisp Hyperspec.
  • Function PARSE-REAL-NUMBER (string &key (start 0) (end nil) (radix 10) ((float-format *read-default-float-format*) *read-default-float-format*))
    Given a string, and start, end, and radix parameters, produce a number according to the syntax definitions in the Common Lisp Hyperspec -- except for complex numbers.
  • Function PARSE-POSITIVE-REAL-NUMBER (string &key (start 0) (end nil) (radix 10) ((float-format *read-default-float-format*) *read-default-float-format*))
    Given a string, and start, end, and radix parameters, produce a number according to the syntax definitions in the Common Lisp Hyperspec -- except for complex numbers and negative numbers.