diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-08-27 11:26:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-27 11:26:50 +0200 |
| commit | c0cd29ed662b65d32ee61a700faacf40c92ab4b0 (patch) | |
| tree | 1e91d2815163a8b853314d21d65ee8394b78defd /compiler/rustc_attr_parsing/src | |
| parent | f2eb47a81b2bae99e020f2f6e130e6891313e541 (diff) | |
| parent | 698db13cd068b1807780f97344bb764efc87703f (diff) | |
| download | rust-c0cd29ed662b65d32ee61a700faacf40c92ab4b0.tar.gz rust-c0cd29ed662b65d32ee61a700faacf40c92ab4b0.zip | |
Rollup merge of #145625 - karolzwolak:f16-use-expr-instead-literal, r=beetrees,tgross35
improve float to_degrees/to_radians rounding comments and impl This PR makes `to_degrees()` and `to_radians()` float functions more consistent between each other and improves comments around their precision and rounding. * revise comments explaining why we are using literal or expression * add unspecified precision comments as we don't guarantee precision * use expression in `f128::to_degrees()` * make `f64::to_degrees()` impl consistent with other functions r? `@tgross35`
Diffstat (limited to 'compiler/rustc_attr_parsing/src')
0 files changed, 0 insertions, 0 deletions
