Available on crate feature
core only.Expand description
Operator overloading for types and operators that may cause overflow.
The types of overflows that this module attempts to catch can be found here.
Functionsยง
- nstd_
core_ ops_ add_ i8 - Computes the addition operation of
x+y. - nstd_
core_ ops_ add_ i16 - Computes the addition operation of
x+y. - nstd_
core_ ops_ add_ i32 - Computes the addition operation of
x+y. - nstd_
core_ ops_ add_ i64 - Computes the addition operation of
x+y. - nstd_
core_ ops_ add_ int - Computes the addition operation of
x+y. - nstd_
core_ ops_ add_ u8 - Computes the addition operation of
x+y. - nstd_
core_ ops_ add_ u16 - Computes the addition operation of
x+y. - nstd_
core_ ops_ add_ u32 - Computes the addition operation of
x+y. - nstd_
core_ ops_ add_ u64 - Computes the addition operation of
x+y. - nstd_
core_ ops_ add_ uint - Computes the addition operation of
x+y. - nstd_
core_ ops_ div_ i8 - Computes the division operation of
x/y. - nstd_
core_ ops_ div_ i16 - Computes the division operation of
x/y. - nstd_
core_ ops_ div_ i32 - Computes the division operation of
x/y. - nstd_
core_ ops_ div_ i64 - Computes the division operation of
x/y. - nstd_
core_ ops_ div_ int - Computes the division operation of
x/y. - nstd_
core_ ops_ div_ u8 - Computes the division operation of
x/y. - nstd_
core_ ops_ div_ u16 - Computes the division operation of
x/y. - nstd_
core_ ops_ div_ u32 - Computes the division operation of
x/y. - nstd_
core_ ops_ div_ u64 - Computes the division operation of
x/y. - nstd_
core_ ops_ div_ uint - Computes the division operation of
x/y. - nstd_
core_ ops_ mul_ i8 - Computes the multiplication operation of
x*y. - nstd_
core_ ops_ mul_ i16 - Computes the multiplication operation of
x*y. - nstd_
core_ ops_ mul_ i32 - Computes the multiplication operation of
x*y. - nstd_
core_ ops_ mul_ i64 - Computes the multiplication operation of
x*y. - nstd_
core_ ops_ mul_ int - Computes the multiplication operation of
x*y. - nstd_
core_ ops_ mul_ u8 - Computes the multiplication operation of
x*y. - nstd_
core_ ops_ mul_ u16 - Computes the multiplication operation of
x*y. - nstd_
core_ ops_ mul_ u32 - Computes the multiplication operation of
x*y. - nstd_
core_ ops_ mul_ u64 - Computes the multiplication operation of
x*y. - nstd_
core_ ops_ mul_ uint - Computes the multiplication operation of
x*y. - nstd_
core_ ops_ neg_ i8 - Returns the negative value of
x. - nstd_
core_ ops_ neg_ i16 - Returns the negative value of
x. - nstd_
core_ ops_ neg_ i32 - Returns the negative value of
x. - nstd_
core_ ops_ neg_ i64 - Returns the negative value of
x. - nstd_
core_ ops_ neg_ int - Returns the negative value of
x. - nstd_
core_ ops_ rem_ i8 - Computes the remainder of
x/y. - nstd_
core_ ops_ rem_ i16 - Computes the remainder of
x/y. - nstd_
core_ ops_ rem_ i32 - Computes the remainder of
x/y. - nstd_
core_ ops_ rem_ i64 - Computes the remainder of
x/y. - nstd_
core_ ops_ rem_ int - Computes the remainder of
x/y. - nstd_
core_ ops_ rem_ u8 - Computes the remainder of
x/y. - nstd_
core_ ops_ rem_ u16 - Computes the remainder of
x/y. - nstd_
core_ ops_ rem_ u32 - Computes the remainder of
x/y. - nstd_
core_ ops_ rem_ u64 - Computes the remainder of
x/y. - nstd_
core_ ops_ rem_ uint - Computes the remainder of
x/y. - nstd_
core_ ops_ shl_ i8 - Shifts value
xybits to the left. - nstd_
core_ ops_ shl_ i16 - Shifts value
xybits to the left. - nstd_
core_ ops_ shl_ i32 - Shifts value
xybits to the left. - nstd_
core_ ops_ shl_ i64 - Shifts value
xybits to the left. - nstd_
core_ ops_ shl_ int - Shifts value
xybits to the left. - nstd_
core_ ops_ shl_ u8 - Shifts value
xybits to the left. - nstd_
core_ ops_ shl_ u16 - Shifts value
xybits to the left. - nstd_
core_ ops_ shl_ u32 - Shifts value
xybits to the left. - nstd_
core_ ops_ shl_ u64 - Shifts value
xybits to the left. - nstd_
core_ ops_ shl_ uint - Shifts value
xybits to the left. - nstd_
core_ ops_ shr_ i8 - Shifts value
xybits to the right. - nstd_
core_ ops_ shr_ i16 - Shifts value
xybits to the right. - nstd_
core_ ops_ shr_ i32 - Shifts value
xybits to the right. - nstd_
core_ ops_ shr_ i64 - Shifts value
xybits to the right. - nstd_
core_ ops_ shr_ int - Shifts value
xybits to the right. - nstd_
core_ ops_ shr_ u8 - Shifts value
xybits to the right. - nstd_
core_ ops_ shr_ u16 - Shifts value
xybits to the right. - nstd_
core_ ops_ shr_ u32 - Shifts value
xybits to the right. - nstd_
core_ ops_ shr_ u64 - Shifts value
xybits to the right. - nstd_
core_ ops_ shr_ uint - Shifts value
xybits to the right. - nstd_
core_ ops_ sub_ i8 - Computes the subtraction operation of
x-y. - nstd_
core_ ops_ sub_ i16 - Computes the subtraction operation of
x-y. - nstd_
core_ ops_ sub_ i32 - Computes the subtraction operation of
x-y. - nstd_
core_ ops_ sub_ i64 - Computes the subtraction operation of
x-y. - nstd_
core_ ops_ sub_ int - Computes the subtraction operation of
x-y. - nstd_
core_ ops_ sub_ u8 - Computes the subtraction operation of
x-y. - nstd_
core_ ops_ sub_ u16 - Computes the subtraction operation of
x-y. - nstd_
core_ ops_ sub_ u32 - Computes the subtraction operation of
x-y. - nstd_
core_ ops_ sub_ u64 - Computes the subtraction operation of
x-y. - nstd_
core_ ops_ sub_ uint - Computes the subtraction operation of
x-y.