rust-lang/rust

API Docs: std::floating point stuff

Closed this issue · 5 comments

Part of #29329

like http://doc.rust-lang.org/std/f32/ pretty sure these are generated too, for all of them.

Here's what's needed to close out this issue:

I am happy to mentor anyone who wants to tackle this issue.

Hej @steveklabnik , what do you think about the following description?

This module provides access to properties and bounds of this floating point data type. Furthermore mathematical constants are provided in the consts module.

Hey @palango,

I like it. We should ask @rust-lang/libs though, why are some of these constants in consts and some are not?

I guess the std::f32 module is for data-type specific constants, whereas std::f32::consts is for mathematical constants with the possible accurcy.

Do we want to consider #41122 a full solution here? Do we want to expand the docs a bit more?