From 3402d04dc027f1c649f1c9e7a6f5d9e7e453e117 Mon Sep 17 00:00:00 2001 From: tomo Date: Mon, 15 Nov 1999 19:24:50 +0000 Subject: [PATCH] (Fstring_to_number): Don't recognize floating point if base is not 10. --- src/data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data.c b/src/data.c index 20100db..310d76a 100644 --- a/src/data.c +++ b/src/data.c @@ -1068,7 +1068,7 @@ Floating point numbers always use base 10. p++; #ifdef LISP_FLOAT_TYPE - if (isfloat_string (p)) + if (isfloat_string (p) && b == 10) return make_float (atof (p)); #endif /* LISP_FLOAT_TYPE */ -- 1.7.10.4