We have MAX in both modules: std::i32 and std::f32 (among others). But it's different for primitives: i32 and f32.
i32 is provided with max_value method, while f32 is not. What is the reason behind that? Apart of that inf is "max value".
I mean: is there any important trick that developer should be aware of?
std::i32::MAX; i32::max_value(); std::f32::MAX; f32::max_value(); //error: function or associated item not found in `f32`