(index ("fp->string" 0) ("string->fp" 443))
(def (sig (procedure "fp->string:: NUMBER [* NDIGITS] -> STRING" (id fp->string))) (p "Converts the given floating-point number to decimal string representation.  If optional argument " (tt "NDIGITS") " is positive, the conversion is done to the specified number of decimal places. If " (tt "NDIGITS") " is zero (the default) or negative, the conversion is done to the shortest decimal string that rounds to the given floating point value."))
(def (sig (procedure "string->fp:: STRING [* ROUNDING] -> NUMBER" (id string->fp))) (p "Converts the given decimal string number to binary IEEE floating point representation.  Optional argument " (tt "ROUNDING") " is a symbol that can be one of:") (dl (dt (tt "toward-zero")) (dd "indicates rounding-towards-zero mode (the default)") (dt (tt "nearest")) (dd "indicates rounding-towards-nearest mode ") (dt (tt "toward+Inf")) (dd "indicates rounding-towards +Inf mode ") (dt (tt "toward-Inf")) (dd "indicates rounding-towards -Inf mode ")))
