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