Skip to content

Commit

Permalink
[conv.integral] Exclude boolean conversions from integral conversions
Browse files Browse the repository at this point in the history
  • Loading branch information
sdkrystian committed Apr 29, 2020
1 parent ea10e25 commit 02f5087
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions source/expressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -884,8 +884,7 @@

\pnum
\indextext{conversion!bool@\tcode{bool}}%
If the destination type is \tcode{bool}, see~\ref{conv.bool}. If the
source type is \tcode{bool}, the value \tcode{false} is converted to
If the source type is \tcode{bool}, the value \tcode{false} is converted to
zero and the value \tcode{true} is converted to one.

\pnum
Expand All @@ -896,8 +895,8 @@
where $N$ is the width of the destination type.

\pnum
The conversions allowed as integral promotions are excluded from the set
of integral conversions.
The conversions performed by integral promotions and boolean conversions are
excluded from the set of integral conversions.

\rSec2[conv.double]{Floating-point conversions}

Expand Down

0 comments on commit 02f5087

Please sign in to comment.