This commit is contained in:
2025-10-25 03:02:53 +03:00
commit 043225d523
3416 changed files with 681196 additions and 0 deletions

21
cppdraft/conv/fpprom.md Normal file
View File

@@ -0,0 +1,21 @@
[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.8Floating-point promotion[conv.fpprom]")[.](#2.sentence-1)