Skip to content

Commit 170fe65

Browse files
authored
Merge pull request MicrosoftDocs#3315 from RibShark/patch-1
Fixed typo in bit-functions.md
2 parents 05be7ed + 0244365 commit 170fe65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/standard-library/bit-functions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ int main()
6161
float f = std::numeric_limits<float>::infinity();
6262
int i = std::bit_cast<int>(f);
6363
std::cout << "float f = " << std::hex << f
64-
<< "\nstd::bit_cat<int>(f) = " << std::hex << i << '\n';
64+
<< "\nstd::bit_cast<int>(f) = " << std::hex << i << '\n';
6565
return 0;
6666
}
6767
```
6868

6969
```Output
7070
float f = inf
71-
std::bit_cat<int>(f) = 7f800000
71+
std::bit_cast<int>(f) = 7f800000
7272
```
7373

7474
### Remarks

0 commit comments

Comments
 (0)