type_mel/
u32.rs

1use melodium_core::*;
2use melodium_macro::mel_function;
3
4/// Return the smallest value that can be represented by `u32`.
5///
6/// The smallest value for `u32` is `0`.
7#[mel_function]
8pub fn min() -> u32 {
9    u32::MIN
10}
11
12/// Return the largest value that can be represented by `u32`.
13///
14/// The largest value for `u32` is `4294967295`.
15#[mel_function]
16pub fn max() -> u32 {
17    u32::MAX
18}