22 lines
673 B
Markdown
22 lines
673 B
Markdown
[conv.fpprom]
|
||
|
||
# 7 Expressions [[expr]](./#expr)
|
||
|
||
## 7.3 Standard conversions [[conv]](conv#fpprom)
|
||
|
||
### 7.3.8 Floating-point promotion [conv.fpprom]
|
||
|
||
[1](#1)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/expressions.tex#L932)
|
||
|
||
A prvalue of type float can be converted to a prvalue of typedouble[.](#1.sentence-1)
|
||
|
||
The value is unchanged[.](#1.sentence-2)
|
||
|
||
[2](#2)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/expressions.tex#L937)
|
||
|
||
This conversion is called [*floating-point promotion*](#def:floating-point_promotion "7.3.8 Floating-point promotion [conv.fpprom]")[.](#2.sentence-1)
|