manual: Complete @standards in lang.texi.

* manual/lang.texi (LDBL_MANT_DIG): Add annotation.
	(LDBL_DIG): Likewise.
	(LDBL_MIN_EXP): Likewise.
	(LDBL_MIN_10_EXP): Likewise.
	(LDBL_MAX_EXP): Likewise.
	(LDBL_MAX_10_EXP): Likewise.
	(LDBL_MAX): Likewise.
	(LDBL_MIN): Likewise.
	(LDBL_EPSILON): Likewise.
	(FLT_ROUNDS): Change standard from ISO to C90.
	(FLT_RADIX): Likewise.
	(FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
	(FLT_DIG, DBL_DIG): Likewise.
	(FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
	(FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
	(FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
	(FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
	(FLT_MAX, DBL_MAX): Likewise.
	(FLT_MIN, DBL_MIN): Likewise.
	(FLT_EPSILON, DBL_EPSILON): Likewise.
This commit is contained in:
Rical Jasan 2017-06-20 04:29:33 -07:00
parent 6c2ec6677b
commit b8216e8278
2 changed files with 43 additions and 20 deletions

View File

@ -1,3 +1,26 @@
2017-06-20 Rical Jasan <ricaljasan@pacific.net>
* manual/lang.texi (LDBL_MANT_DIG): Add annotation.
(LDBL_DIG): Likewise.
(LDBL_MIN_EXP): Likewise.
(LDBL_MIN_10_EXP): Likewise.
(LDBL_MAX_EXP): Likewise.
(LDBL_MAX_10_EXP): Likewise.
(LDBL_MAX): Likewise.
(LDBL_MIN): Likewise.
(LDBL_EPSILON): Likewise.
(FLT_ROUNDS): Change standard from ISO to C90.
(FLT_RADIX): Likewise.
(FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
(FLT_DIG, DBL_DIG): Likewise.
(FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
(FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
(FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
(FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
(FLT_MAX, DBL_MAX): Likewise.
(FLT_MIN, DBL_MIN): Likewise.
(FLT_EPSILON, DBL_EPSILON): Likewise.
2017-06-19 Joseph Myers <joseph@codesourcery.com> 2017-06-19 Joseph Myers <joseph@codesourcery.com>
* sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove. * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.

View File

@ -969,7 +969,7 @@ supported are suitable.
@vtable @code @vtable @code
@item FLT_ROUNDS @item FLT_ROUNDS
@standards{ISO, float.h} @standards{C90, float.h}
This value characterizes the rounding mode for floating point addition. This value characterizes the rounding mode for floating point addition.
The following values indicate standard rounding modes: The following values indicate standard rounding modes:
@ -1008,14 +1008,14 @@ the IEEE single-precision standard.
@end smallexample @end smallexample
@item FLT_RADIX @item FLT_RADIX
@standards{ISO, float.h} @standards{C90, float.h}
This is the value of the base, or radix, of the exponent representation. This is the value of the base, or radix, of the exponent representation.
This is guaranteed to be a constant expression, unlike the other macros This is guaranteed to be a constant expression, unlike the other macros
described in this section. The value is 2 on all machines we know of described in this section. The value is 2 on all machines we know of
except the IBM 360 and derivatives. except the IBM 360 and derivatives.
@item FLT_MANT_DIG @item FLT_MANT_DIG
@standards{ISO, float.h} @standards{C90, float.h}
This is the number of base-@code{FLT_RADIX} digits in the floating point This is the number of base-@code{FLT_RADIX} digits in the floating point
mantissa for the @code{float} data type. The following expression mantissa for the @code{float} data type. The following expression
yields @code{1.0} (even though mathematically it should not) due to the yields @code{1.0} (even though mathematically it should not) due to the
@ -1032,14 +1032,14 @@ where @code{radix} appears @code{FLT_MANT_DIG} times.
@item DBL_MANT_DIG @item DBL_MANT_DIG
@itemx LDBL_MANT_DIG @itemx LDBL_MANT_DIG
@standardsx{DBL_MANT_DIG, ISO, float.h} @standards{C90, float.h}
This is the number of base-@code{FLT_RADIX} digits in the floating point This is the number of base-@code{FLT_RADIX} digits in the floating point
mantissa for the data types @code{double} and @code{long double}, mantissa for the data types @code{double} and @code{long double},
respectively. respectively.
@comment Extra blank lines make it look better. @comment Extra blank lines make it look better.
@item FLT_DIG @item FLT_DIG
@standards{ISO, float.h} @standards{C90, float.h}
This is the number of decimal digits of precision for the @code{float} This is the number of decimal digits of precision for the @code{float}
data type. Technically, if @var{p} and @var{b} are the precision and data type. Technically, if @var{p} and @var{b} are the precision and
@ -1054,14 +1054,14 @@ The value of this macro is supposed to be at least @code{6}, to satisfy
@item DBL_DIG @item DBL_DIG
@itemx LDBL_DIG @itemx LDBL_DIG
@standardsx{DBL_DIG, ISO, float.h} @standards{C90, float.h}
These are similar to @code{FLT_DIG}, but for the data types These are similar to @code{FLT_DIG}, but for the data types
@code{double} and @code{long double}, respectively. The values of these @code{double} and @code{long double}, respectively. The values of these
macros are supposed to be at least @code{10}. macros are supposed to be at least @code{10}.
@item FLT_MIN_EXP @item FLT_MIN_EXP
@standards{ISO, float.h} @standards{C90, float.h}
This is the smallest possible exponent value for type @code{float}. This is the smallest possible exponent value for type @code{float}.
More precisely, it is the minimum negative integer such that the value More precisely, it is the minimum negative integer such that the value
@code{FLT_RADIX} raised to this power minus 1 can be represented as a @code{FLT_RADIX} raised to this power minus 1 can be represented as a
@ -1069,25 +1069,25 @@ normalized floating point number of type @code{float}.
@item DBL_MIN_EXP @item DBL_MIN_EXP
@itemx LDBL_MIN_EXP @itemx LDBL_MIN_EXP
@standardsx{DBL_MIN_EXP, ISO, float.h} @standards{C90, float.h}
These are similar to @code{FLT_MIN_EXP}, but for the data types These are similar to @code{FLT_MIN_EXP}, but for the data types
@code{double} and @code{long double}, respectively. @code{double} and @code{long double}, respectively.
@item FLT_MIN_10_EXP @item FLT_MIN_10_EXP
@standards{ISO, float.h} @standards{C90, float.h}
This is the minimum negative integer such that @code{10} raised to this This is the minimum negative integer such that @code{10} raised to this
power minus 1 can be represented as a normalized floating point number power minus 1 can be represented as a normalized floating point number
of type @code{float}. This is supposed to be @code{-37} or even less. of type @code{float}. This is supposed to be @code{-37} or even less.
@item DBL_MIN_10_EXP @item DBL_MIN_10_EXP
@itemx LDBL_MIN_10_EXP @itemx LDBL_MIN_10_EXP
@standardsx{DBL_MIN_10_EXP, ISO, float.h} @standards{C90, float.h}
These are similar to @code{FLT_MIN_10_EXP}, but for the data types These are similar to @code{FLT_MIN_10_EXP}, but for the data types
@code{double} and @code{long double}, respectively. @code{double} and @code{long double}, respectively.
@item FLT_MAX_EXP @item FLT_MAX_EXP
@standards{ISO, float.h} @standards{C90, float.h}
This is the largest possible exponent value for type @code{float}. More This is the largest possible exponent value for type @code{float}. More
precisely, this is the maximum positive integer such that value precisely, this is the maximum positive integer such that value
@code{FLT_RADIX} raised to this power minus 1 can be represented as a @code{FLT_RADIX} raised to this power minus 1 can be represented as a
@ -1095,24 +1095,24 @@ floating point number of type @code{float}.
@item DBL_MAX_EXP @item DBL_MAX_EXP
@itemx LDBL_MAX_EXP @itemx LDBL_MAX_EXP
@standardsx{DBL_MAX_EXP, ISO, float.h} @standards{C90, float.h}
These are similar to @code{FLT_MAX_EXP}, but for the data types These are similar to @code{FLT_MAX_EXP}, but for the data types
@code{double} and @code{long double}, respectively. @code{double} and @code{long double}, respectively.
@item FLT_MAX_10_EXP @item FLT_MAX_10_EXP
@standards{ISO, float.h} @standards{C90, float.h}
This is the maximum positive integer such that @code{10} raised to this This is the maximum positive integer such that @code{10} raised to this
power minus 1 can be represented as a normalized floating point number power minus 1 can be represented as a normalized floating point number
of type @code{float}. This is supposed to be at least @code{37}. of type @code{float}. This is supposed to be at least @code{37}.
@item DBL_MAX_10_EXP @item DBL_MAX_10_EXP
@itemx LDBL_MAX_10_EXP @itemx LDBL_MAX_10_EXP
@standardsx{DBL_MAX_10_EXP, ISO, float.h} @standards{C90, float.h}
These are similar to @code{FLT_MAX_10_EXP}, but for the data types These are similar to @code{FLT_MAX_10_EXP}, but for the data types
@code{double} and @code{long double}, respectively. @code{double} and @code{long double}, respectively.
@item FLT_MAX @item FLT_MAX
@standards{ISO, float.h} @standards{C90, float.h}
The value of this macro is the maximum number representable in type The value of this macro is the maximum number representable in type
@code{float}. It is supposed to be at least @code{1E+37}. The value @code{float}. It is supposed to be at least @code{1E+37}. The value
@ -1122,14 +1122,14 @@ The smallest representable number is @code{- FLT_MAX}.
@item DBL_MAX @item DBL_MAX
@itemx LDBL_MAX @itemx LDBL_MAX
@standardsx{DBL_MAX, ISO, float.h} @standards{C90, float.h}
These are similar to @code{FLT_MAX}, but for the data types These are similar to @code{FLT_MAX}, but for the data types
@code{double} and @code{long double}, respectively. The type of the @code{double} and @code{long double}, respectively. The type of the
macro's value is the same as the type it describes. macro's value is the same as the type it describes.
@item FLT_MIN @item FLT_MIN
@standards{ISO, float.h} @standards{C90, float.h}
The value of this macro is the minimum normalized positive floating The value of this macro is the minimum normalized positive floating
point number that is representable in type @code{float}. It is supposed point number that is representable in type @code{float}. It is supposed
@ -1137,14 +1137,14 @@ to be no more than @code{1E-37}.
@item DBL_MIN @item DBL_MIN
@itemx LDBL_MIN @itemx LDBL_MIN
@standardsx{DBL_MIN, ISO, float.h} @standards{C90, float.h}
These are similar to @code{FLT_MIN}, but for the data types These are similar to @code{FLT_MIN}, but for the data types
@code{double} and @code{long double}, respectively. The type of the @code{double} and @code{long double}, respectively. The type of the
macro's value is the same as the type it describes. macro's value is the same as the type it describes.
@item FLT_EPSILON @item FLT_EPSILON
@standards{ISO, float.h} @standards{C90, float.h}
This is the difference between 1 and the smallest floating point This is the difference between 1 and the smallest floating point
number of type @code{float} that is greater than 1. It's supposed to number of type @code{float} that is greater than 1. It's supposed to
@ -1152,7 +1152,7 @@ be no greater than @code{1E-5}.
@item DBL_EPSILON @item DBL_EPSILON
@itemx LDBL_EPSILON @itemx LDBL_EPSILON
@standardsx{DBL_EPSILON, ISO, float.h} @standards{C90, float.h}
These are similar to @code{FLT_EPSILON}, but for the data types These are similar to @code{FLT_EPSILON}, but for the data types
@code{double} and @code{long double}, respectively. The type of the @code{double} and @code{long double}, respectively. The type of the