pub fn integer(&self) -> bool
	{
		let exp = self.ext_exp_val();
		let selfbits = self.conv_to_bits();

		// This will prevent an opposite shift, in the event of a negative exponent:
		let exp_clamped = i32::max(exp, 0) as u32;

		// This finds the portion of the fraction that would be left behind:
		let fract_part = (selfbits).overflowing_shl(exp_clamped).0 & MANT_M;

		// If fract_part has any value, the value is not an integer.
		fract_part == 0
	}
// This checks if the value is an integer:
This checks if the value is an integer.
This checks if the value is an integer .
pub fn integer(&self) -> bool
	{
		let exp = self.ext_exp_val();
		let selfbits = self.conv_to_bits();
		// This will prevent an opposite shift, in the event of a negative exponent:
		let exp_clamped = i32::max(exp, 0) as u32;
		// This finds the portion of the fraction that would be left behind:
		let fract_part = (selfbits).overflowing_shl(exp_clamped).0 & MANT_M;
		// If fract_part has any value, the value is not an integer.
		fract_part == 0
	}
pub fn integer ( & self ) -> bool { let exp = self . ext_exp_val ( ) ; let selfbits = self . conv_to_bits ( ) ; // This will prevent an opposite shift, in the event of a negative exponent: let exp_clamped = i32 :: max ( exp , 0 ) as u32 ; // This finds the portion of the fraction that would be left behind: let fract_part = ( selfbits ) . overflowing_shl ( exp_clamped ) . 0 & MANT_M ; // If fract_part has any value, the value is not an integer. fract_part == 0 }
This checks if the value is an integer:
This checks if the value is an integer :
&self