1 implementation of IsOddInteger
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1527static bool INumberBase<char>.IsOddInteger(char value) => (value & 1) != 0;
26 references to IsOddInteger
System.Numerics.Tensors (1)
System\Numerics\Tensors\netcore\TensorPrimitives.IsOddInteger.cs (1)
48public static bool Invoke(T x) => T.IsOddInteger(x);
System.Private.CoreLib (21)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
646/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
1526/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1400/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
1135/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1881/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
1374/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
746/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
788/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
785/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
808/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.DecimalIeee754.cs (1)
2984|| ((roundDigit == 5) && (sticky || TValue.IsOddInteger(significand)));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
1470/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\INumberBase.cs (1)
141/// <para>This functioning returning <c>false</c> does not imply that <see cref="IsOddInteger(TSelf)" /> will return <c>true</c>. A number with a fractional portion, <c>3.3</c>, is not even nor odd.</para>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
1292/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
725/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
1150/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
1571/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
651/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
716/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
723/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
722/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" />
System.Runtime.Numerics (4)
System\Numerics\BigInteger.cs (1)
4215/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" />
System\Numerics\Complex.cs (1)
625/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" />
System\Numerics\Complex.Generic.cs (2)
1287/// <inheritdoc cref="INumberBase{TSelf}.IsOddInteger(TSelf)" /> 1288public static bool IsOddInteger(Complex<T> value) => (value.m_imaginary == T.Zero) && T.IsOddInteger(value.m_real);