32 references to As
System.Private.CoreLib (32)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (30)
260public static Vector64<byte> AsByte<T>(this Vector64<T> vector) => vector.As<T, byte>(); 268public static Vector64<double> AsDouble<T>(this Vector64<T> vector) => vector.As<T, double>(); 276public static Vector64<short> AsInt16<T>(this Vector64<T> vector) => vector.As<T, short>(); 284public static Vector64<int> AsInt32<T>(this Vector64<T> vector) => vector.As<T, int>(); 292public static Vector64<long> AsInt64<T>(this Vector64<T> vector) => vector.As<T, long>(); 300public static Vector64<nint> AsNInt<T>(this Vector64<T> vector) => vector.As<T, nint>(); 309public static Vector64<nuint> AsNUInt<T>(this Vector64<T> vector) => vector.As<T, nuint>(); 318public static Vector64<sbyte> AsSByte<T>(this Vector64<T> vector) => vector.As<T, sbyte>(); 326public static Vector64<float> AsSingle<T>(this Vector64<T> vector) => vector.As<T, float>(); 335public static Vector64<ushort> AsUInt16<T>(this Vector64<T> vector) => vector.As<T, ushort>(); 344public static Vector64<uint> AsUInt32<T>(this Vector64<T> vector) => vector.As<T, uint>(); 353public static Vector64<ulong> AsUInt64<T>(this Vector64<T> vector) => vector.As<T, ulong>(); 1885return VectorMath.IsEvenIntegerSingle<Vector64<float>, Vector64<uint>>(vector.AsSingle()).As<float, T>(); 1889return VectorMath.IsEvenIntegerDouble<Vector64<double>, Vector64<ulong>>(vector.AsDouble()).As<double, T>(); 1901return ~IsZero(AndNot(Vector64<float>.PositiveInfinity.AsUInt32(), vector.AsUInt32())).As<uint, T>(); 1905return ~IsZero(AndNot(Vector64<double>.PositiveInfinity.AsUInt64(), vector.AsUInt64())).As<ulong, T>(); 1961return LessThan(vector.AsInt32(), Vector64<int>.Zero).As<int, T>(); 1965return LessThan(vector.AsInt64(), Vector64<long>.Zero).As<long, T>(); 1980return Equals(vector, Vector64<float>.NegativeInfinity.As<float, T>()); 1984return Equals(vector, Vector64<double>.NegativeInfinity.As<double, T>()); 1996return LessThan(Abs(vector).AsUInt32() - Create<uint>(float.SmallestNormalBits), Create<uint>(float.PositiveInfinityBits - float.SmallestNormalBits)).As<uint, T>(); 2000return LessThan(Abs(vector).AsUInt64() - Create<ulong>(double.SmallestNormalBits), Create<ulong>(double.PositiveInfinityBits - double.SmallestNormalBits)).As<ulong, T>(); 2012return VectorMath.IsOddIntegerSingle<Vector64<float>, Vector64<uint>>(vector.AsSingle()).As<float, T>(); 2016return VectorMath.IsOddIntegerDouble<Vector64<double>, Vector64<ulong>>(vector.AsDouble()).As<double, T>(); 2036return GreaterThanOrEqual(vector.AsInt32(), Vector64<int>.Zero).As<int, T>(); 2040return GreaterThanOrEqual(vector.AsInt64(), Vector64<long>.Zero).As<long, T>(); 2055return Equals(vector, Vector64<float>.PositiveInfinity.As<float, T>()); 2059return Equals(vector, Vector64<double>.PositiveInfinity.As<double, T>()); 2071return LessThan(Abs(vector).AsUInt32() - Vector64<uint>.One, Create<uint>(float.MaxTrailingSignificand)).As<uint, T>(); 2075return LessThan(Abs(vector).AsUInt64() - Vector64<ulong>.One, Create<ulong>(double.MaxTrailingSignificand)).As<ulong, T>();
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64_1.cs (2)
397return vector ^ Vector64<float>.NegativeZero.As<float, T>(); 401return vector ^ Vector64<double>.NegativeZero.As<double, T>();