4 references to IsInteger
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Double.cs (2)
1109
public static bool IsEvenInteger(double value) =>
IsInteger
(value) && (Abs(value % 2) == 0);
1118
public static bool IsOddInteger(double value) =>
IsInteger
(value) && (Abs(value % 2) == 1);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
1363
public static bool IsInteger(NFloat value) => NativeType.
IsInteger
(value._value);
System.Runtime.Numerics (1)
System\Numerics\Complex.cs (1)
1010
public static bool IsInteger(Complex value) => (value.m_imaginary == 0) && double.
IsInteger
(value.m_real);