Fixes.
This commit is contained in:
parent
0306d15c04
commit
e394824bf3
@ -13,9 +13,9 @@ use crate::parser::FLOAT;
|
|||||||
use crate::stdlib::{i32, i64, ops::Deref};
|
use crate::stdlib::{i32, i64, ops::Deref};
|
||||||
|
|
||||||
#[cfg(feature = "only_i32")]
|
#[cfg(feature = "only_i32")]
|
||||||
const MAX_INT: INT = i32::MAX;
|
pub const MAX_INT: INT = i32::MAX;
|
||||||
#[cfg(not(feature = "only_i32"))]
|
#[cfg(not(feature = "only_i32"))]
|
||||||
const MAX_INT: INT = i64::MAX;
|
pub const MAX_INT: INT = i64::MAX;
|
||||||
|
|
||||||
pub struct BasicMathPackage(PackageLibrary);
|
pub struct BasicMathPackage(PackageLibrary);
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
use super::logic::{eq, gt, gte, lt, lte, ne};
|
use super::logic::{eq, gt, gte, lt, lte, ne};
|
||||||
|
use super::math_basic::MAX_INT;
|
||||||
use super::{
|
use super::{
|
||||||
create_new_package, reg_binary, reg_none, reg_unary, Package, PackageLibrary,
|
create_new_package, reg_binary, reg_none, reg_unary, Package, PackageLibrary,
|
||||||
PackageLibraryStore,
|
PackageLibraryStore,
|
||||||
@ -6,6 +7,8 @@ use super::{
|
|||||||
|
|
||||||
use crate::fn_register::{map_dynamic as map, map_result as result};
|
use crate::fn_register::{map_dynamic as map, map_result as result};
|
||||||
use crate::parser::INT;
|
use crate::parser::INT;
|
||||||
|
use crate::result::EvalAltResult;
|
||||||
|
use crate::token::Position;
|
||||||
|
|
||||||
use crate::stdlib::{ops::Deref, time::Instant};
|
use crate::stdlib::{ops::Deref, time::Instant};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user