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