This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 2bc0cf2
authored
Rollup merge of rust-lang#126654 - tgross35:f16-f128-pretty-print, r=jackh726
Make pretty printing for `f16` and `f128` consistent
Currently the docs show e.g.
{transmute(0xfffeffffffffffffffffffffffffffff): f128}
for f128 constants. This should fix that to instead use apfloat for printing, as is done for `f32` and `f64`.1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
1710 | 1710 | | |
1711 | 1711 | | |
1712 | 1712 | | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
1713 | 1717 | | |
1714 | 1718 | | |
1715 | 1719 | | |
| |||
1718 | 1722 | | |
1719 | 1723 | | |
1720 | 1724 | | |
| 1725 | + | |
| 1726 | + | |
| 1727 | + | |
| 1728 | + | |
1721 | 1729 | | |
1722 | 1730 | | |
1723 | 1731 | | |
| |||
0 commit comments