mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
bd479badfb
Improve doc comments for f32::ceil() and f32::floor() Previously ::floor() included an example showing behaviour for negative values, but ::ceil() did not. Ensure both have examples of the negative case, for both f32 and f64. Whilst we're here, tweak the wording slightly so it reads better.