40
40
41
41
namespace sus ::num {
42
42
43
- // / A 32-bit floating point type (specifically, this type holds the same values
44
- // / as the `float` type specified by the C++ standard).
43
+ // / A 32-bit floating point type.
45
44
// /
46
45
// / This type can represent a wide range of decimal numbers, like 3.5, 27,
47
46
// / -113.75, 0.0078125, 34359738368, 0, -1. So unlike integer types (such as
48
47
// / `i32`), floating point types can represent non-integer numbers, too.
48
+ // / Specifically, this type holds the same values
49
+ // / as the `float` type specified by the C++ standard.
49
50
// /
50
51
// / See the [namespace level documentation]($sus::num) for more.
51
52
struct [[sus_trivial_abi]] f32 final {
@@ -59,11 +60,12 @@ struct [[sus_trivial_abi]] f32 final {
59
60
#define _suffix f
60
61
#include " sus/num/__private/float_consts.inc"
61
62
62
- // / A 64-bit floating point type (specifically, this type holds the same values
63
- // / as the `double` type specified by the C++ standard).
63
+ // / A 64-bit floating point type.
64
64
// /
65
65
// / This type is very similar to [`f32`]($sus::num::f32), but has increased precision by using
66
66
// / twice as many bits.
67
+ // / Specifically, this type holds the same values
68
+ // / as the `double` type specified by the C++ standard.
67
69
// /
68
70
// / See the [namespace level documentation]($sus::num) for more.
69
71
struct [[sus_trivial_abi]] f64 final {
0 commit comments