aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-11-15 10:30:16 +0000
committerRichard Stallman <rms@gnu.org>1993-11-15 10:30:16 +0000
commita860f3ceeab03097f9af78847080d5c9d4e742ab (patch)
treef8abb841fbe42f601c8bd64107e9c39f686f8386 /gcc
parent11734ce8b4b19e2db61ef51218cf56f59de783e4 (diff)
downloadgcc-a860f3ceeab03097f9af78847080d5c9d4e742ab.zip
gcc-a860f3ceeab03097f9af78847080d5c9d4e742ab.tar.gz
gcc-a860f3ceeab03097f9af78847080d5c9d4e742ab.tar.bz2
(REAL_VALUE_TO_DECIMAL): Defined.
From-SVN: r6101
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/mips/xm-mips.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/mips/xm-mips.h b/gcc/config/mips/xm-mips.h
index 00423b7..8f8ee50 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"