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)
114Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.Zero)), 120Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals((region + TVectorInt64.One) & TVectorInt64.Create(2), TVectorInt64.Zero)), 138TVectorDouble result = TVectorDouble.Zero; 288Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.Zero)), 294Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals((region + TVectorInt64.One) & TVectorInt64.Create(2), TVectorInt64.Zero)), 302TVectorSingle result = TVectorSingle.Zero; 463TVectorDouble expResult = TVectorDouble.Zero; 936if (specialMask != TVectorUInt64.Zero) 1117if (specialMask != TVectorUInt32.Zero) 1256if (specialMask != TVectorUInt64.Zero) 1433if (specialMask != TVectorUInt32.Zero) 1843Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.Zero)), 1849Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.Zero)), 1857Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(((sign & (region >>> 1)) | (~sign & ~(region >>> 1))) & TVectorInt64.One, TVectorInt64.Zero)), 1863Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals((region + TVectorInt64.One) & TVectorInt64.Create(2), TVectorInt64.Zero)), 1889TVectorDouble sinResult = TVectorDouble.Zero; 1890TVectorDouble cosResult = TVectorDouble.Zero; 2020Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.Zero)), 2026Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.Zero)), 2034Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(((sign & (region >>> 1)) | (~sign & ~(region >>> 1))) & TVectorInt64.One, TVectorInt64.Zero)), 2040Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals((region + TVectorInt64.One) & TVectorInt64.Create(2), TVectorInt64.Zero)), 2050TVectorSingle sinResult = TVectorSingle.Zero; 2051TVectorSingle cosResult = TVectorSingle.Zero; 2154Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.Zero)), 2162Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(((sign & (region >>> 1)) | (~sign & ~(region >>> 1))) & TVectorInt64.One, TVectorInt64.Zero)), 2180TVectorDouble result = TVectorDouble.Zero; 2326Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(region & TVectorInt64.One, TVectorInt64.Zero)), 2334Unsafe.BitCast<TVectorInt64, TVectorDouble>(TVectorInt64.Equals(((sign & (region >>> 1)) | (~sign & ~(region >>> 1))) & TVectorInt64.One, TVectorInt64.Zero)), 2342TVectorSingle result = TVectorSingle.Zero;
src\libraries\System.Private.CoreLib\src\System\Text\Ascii.Utility.cs (1)
2243return !(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))) == TVector.Zero;