This commit is contained in:
Stephen Chung
2020-04-21 00:24:25 +08:00
parent 0306d15c04
commit e394824bf3
2 changed files with 5 additions and 2 deletions

View File

@@ -13,9 +13,9 @@ use crate::parser::FLOAT;
use crate::stdlib::{i32, i64, ops::Deref};
#[cfg(feature = "only_i32")]
const MAX_INT: INT = i32::MAX;
pub const MAX_INT: INT = i32::MAX;
#[cfg(not(feature = "only_i32"))]
const MAX_INT: INT = i64::MAX;
pub const MAX_INT: INT = i64::MAX;
pub struct BasicMathPackage(PackageLibrary);