34 references to Zero
System.Private.CoreLib (34)
src\libraries\System.Private.CoreLib\src\System\Globalization\Ordinal.cs (2)
105if (!notEquals.Equals(TVector.Zero)) 132if (!notEquals.Equals(TVector.Zero))
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\ISimdVector_2.cs (1)
264static virtual TSelf CreateScalar(T value) => TSelf.WithElement(TSelf.Zero, 0, value);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\VectorMath.cs (29)
113Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.Zero)), 119Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals((region + TVectorInt64.One) & TVectorInt64.Create(2), TVectorInt64.Zero)), 137TVectorDouble result = TVectorDouble.Zero; 287Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.Zero)), 293Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals((region + TVectorInt64.One) & TVectorInt64.Create(2), TVectorInt64.Zero)), 301TVectorSingle result = TVectorSingle.Zero; 462TVectorDouble expResult = TVectorDouble.Zero; 935if (specialMask != TVectorUInt64.Zero) 1116if (specialMask != TVectorUInt32.Zero) 1255if (specialMask != TVectorUInt64.Zero) 1432if (specialMask != TVectorUInt32.Zero) 1842Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.Zero)), 1848Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.Zero)), 1856Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(((sign & (region >>> 1)) | (~sign & ~(region >>> 1))) & TVectorInt64.One, TVectorInt64.Zero)), 1862Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals((region + TVectorInt64.One) & TVectorInt64.Create(2), TVectorInt64.Zero)), 1888TVectorDouble sinResult = TVectorDouble.Zero; 1889TVectorDouble cosResult = TVectorDouble.Zero; 2019Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.Zero)), 2025Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.Zero)), 2033Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(((sign & (region >>> 1)) | (~sign & ~(region >>> 1))) & TVectorInt64.One, TVectorInt64.Zero)), 2039Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals((region + TVectorInt64.One) & TVectorInt64.Create(2), TVectorInt64.Zero)), 2049TVectorSingle sinResult = TVectorSingle.Zero; 2050TVectorSingle cosResult = TVectorSingle.Zero; 2153Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.Zero)), 2161Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(((sign & (region >>> 1)) | (~sign & ~(region >>> 1))) & TVectorInt64.One, TVectorInt64.Zero)), 2179TVectorDouble result = TVectorDouble.Zero; 2325Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.Zero)), 2333Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(((sign & (region >>> 1)) | (~sign & ~(region >>> 1))) & TVectorInt64.One, TVectorInt64.Zero)), 2341TVectorSingle result = TVectorSingle.Zero;
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.Utility.cs (1)
2240return !(vector & TVectorByte.Create((byte)0x80)).Equals(TVectorByte.Zero);
src\libraries\System.Private.CoreLib\src\System\Text\Unicode\Utf16Utility.cs (1)
290return (vec & TVector.Create(unchecked((ushort)~0x007F))).Equals(TVector.Zero);