(F_check): Do nothing in long double case, if NO_LONG_DOUBLE_IO.

From-SVN: r4522
This commit is contained in:
Richard Stallman 1993-05-20 23:17:11 +00:00
parent 1a5e5e4be9
commit 39ed64b801
1 changed files with 4 additions and 0 deletions

View File

@ -2159,6 +2159,10 @@ Procedure F_check(precision, val1) int precision; Long_double val1; {
/* On the Sun 3, sscanf clobbers 4 words,
which leads to a crash when this function tries to return. */
f2= "%le"; /* Input */
/* It is no use checking long doubles if we can't
read and write them. */
if (sizeof (Number) > sizeof(double))
return;
#else
Long_double new1;
if (sizeof(double) == sizeof(Long_double)) {