(REAL_VALUE_TO_DECIMAL): Defined.
authorRichard Stallman <rms@gnu.org>
Mon, 15 Nov 1993 10:30:16 +0000 (10:30 +0000)
committerRichard Stallman <rms@gnu.org>
Mon, 15 Nov 1993 10:30:16 +0000 (10:30 +0000)
From-SVN: r6101

gcc/config/mips/xm-mips.h

index 00423b7dcd17dde8d503f49eb0a0997f3d6b36e0..8f8ee504281358f40c6f5e6d5c23f82c2d6d3e20 100644 (file)
@@ -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"