printer: float infinity/nan: coerce printed form to base-string
authorDaniel Kochmański <daniel@turtleware.eu>
Thu, 3 Sep 2015 06:12:08 +0000 (08:12 +0200)
committerDaniel Kochmański <daniel@turtleware.eu>
Thu, 3 Sep 2015 06:12:08 +0000 (08:12 +0200)
commitd15c42d2a161e0918791b5129f2447b52cc2533c
treefd3db95811c124c03d0aa989ad94e33b7ee9a147
parent9720adf0c0fd2179c889a3537a39dc664854c064
printer: float infinity/nan: coerce printed form to base-string

CLOS printer uses normal strings while float_to_string.d calls
push_base_string to cache printable form of infinity (and nan). Coerce
clos strings to base-string. Fixes #153. Related to #114.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
src/clos/print.lsp