From: Richard Stallman Date: Mon, 15 Nov 1993 10:30:16 +0000 (+0000) Subject: (REAL_VALUE_TO_DECIMAL): Defined. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a860f3ceeab03097f9af78847080d5c9d4e742ab;p=gcc.git (REAL_VALUE_TO_DECIMAL): Defined. From-SVN: r6101 --- diff --git a/gcc/config/mips/xm-mips.h b/gcc/config/mips/xm-mips.h index 00423b7dcd1..8f8ee504281 100644 --- a/gcc/config/mips/xm-mips.h +++ b/gcc/config/mips/xm-mips.h @@ -44,6 +44,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define HOST_FLOAT_FORMAT IEEE_FLOAT_FORMAT +/* Always use ereal_to_decimal, not sprintf, because the system's + sprintf is inaccurate on a mips. */ + +#define REAL_VALUE_TO_DECIMAL(r, fmt, s) (ereal_to_decimal (r, s)) + /* target machine dependencies. tm.h is a symbolic link to the actual target specific file. */ #include "tm.h"