Skip to content

Commit eb4d1fe

Browse files
jensmaurerzygoloid
authored andcommitted
'floating type' is not a defined term in C++
1 parent 4b5d9ad commit eb4d1fe

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

source/basic.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3791,7 +3791,7 @@
37913791
\pnum
37923792
\indextext{type!fundamental}%
37933793
\indextext{type!integral}%
3794-
\indextext{type!floating-point}%
3794+
\indextext{floating-point type|see{type, floating-point}}%
37953795
\indextext{type!implementation-defined \tcode{sizeof}}%
37963796
\indextext{type!Boolean}%
37973797
\indextext{type!\idxcode{char}}%
@@ -3968,7 +3968,7 @@
39683968
\end{example}
39693969

39703970
\pnum
3971-
There are three \defnx{floating-point}{floating-point type} types:
3971+
There are three \defnx{floating-point types}{type!floating-point}:
39723972
\indextext{type!\idxcode{float}}%
39733973
\tcode{float},
39743974
\indextext{type!\idxcode{double}}%
@@ -3988,7 +3988,7 @@
39883988
This document imposes no requirements on the accuracy of
39893989
floating-point operations; see also~\ref{support.limits}.
39903990
\end{note}
3991-
Integral and floating types are collectively
3991+
Integral and floating-point types are collectively
39923992
called \defnx{arithmetic}{type!arithmetic} types.
39933993
\indextext{\idxcode{numeric_limits}!specializations for arithmetic types}%
39943994
Specializations of the standard library template

source/conversions.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@
477477
represented exactly, it is an \impldef{value of result of inexact integer to
478478
floating-point conversion} choice of either the next lower or higher representable
479479
value. \begin{note} Loss of precision occurs if the integral value cannot be represented
480-
exactly as a value of the floating type. \end{note} If the value being converted is
480+
exactly as a value of the floating-point type. \end{note} If the value being converted is
481481
outside the range of values that can be represented, the behavior is undefined. If the
482482
source type is \tcode{bool}, the value \tcode{false} is converted to zero and the value
483483
\tcode{true} is converted to one.

source/locales.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2536,7 +2536,7 @@
25362536
\tcode{unsigned} integral type & \tcode{\%u} \\
25372537
\end{floattable}
25382538

2539-
For conversions to a floating type the specifier is
2539+
For conversions to a floating-point type the specifier is
25402540
\tcode{\%g}.
25412541

25422542
For conversions to

source/overloading.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3611,7 +3611,7 @@
36113611
\tcode{char}).
36123612
Similarly, the term
36133613
\defn{promoted arithmetic type}
3614-
refers to floating types plus promoted integral types.
3614+
refers to floating-point types plus promoted integral types.
36153615
\begin{note}
36163616
In all cases where a promoted integral type or promoted arithmetic type is
36173617
required, an operand of enumeration type will be acceptable by way of the

source/support.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@
750750

751751
\indextext{number!subnormal}%
752752
\pnum
753-
For floating types with subnormal numbers, returns the minimum positive
753+
For floating-point types with subnormal numbers, returns the minimum positive
754754
normalized value.
755755

756756
\pnum
@@ -887,7 +887,7 @@
887887

888888
\begin{itemdescr}
889889
\pnum
890-
For floating types, specifies the base or radix of the exponent representation
890+
For floating-point types, specifies the base or radix of the exponent representation
891891
(often 2).\footnote{Equivalent to \tcode{FLT_RADIX}.}
892892

893893
\pnum

0 commit comments

Comments
 (0)