PR c++/69462: Provide FLT_EVAL_METHOD and DECIMAL_DIG in float.h.

gcc/ChangeLog

	PR c++/69462
	* ginclude/float.h: Also provide FLT_EVAL_METHOD and DECIMAL_DIG
	for C++-11.

From-SVN: r232970
This commit is contained in:
Jonathan Wakely 2016-01-29 10:03:26 +00:00 committed by Andreas Krebbel
parent 5453bfed48
commit 00ec75a0a2
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2016-01-29 Jonathan Wakely <jwakely@redhat.com>
PR c++/69462
* ginclude/float.h: Also provide FLT_EVAL_METHOD and DECIMAL_DIG
for C++-11.
2016-01-29 Richard Biener <rguenther@suse.de>
PR middle-end/69537

View File

@ -127,7 +127,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#undef FLT_ROUNDS
#define FLT_ROUNDS 1
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
|| (defined (__cplusplus) && __cplusplus >= 201103L)
/* The floating-point expression evaluation method.
-1 indeterminate
0 evaluate all operations and constants just to the range and