36 references to As
System.Private.CoreLib (36)
src\runtime\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>();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64.cs (34)
266public static Vector64<byte> AsByte<T>(this Vector64<T> vector) => vector.As<T, byte>(); 274public static Vector64<double> AsDouble<T>(this Vector64<T> vector) => vector.As<T, double>(); 282public static Vector64<short> AsInt16<T>(this Vector64<T> vector) => vector.As<T, short>(); 290public static Vector64<int> AsInt32<T>(this Vector64<T> vector) => vector.As<T, int>(); 298public static Vector64<long> AsInt64<T>(this Vector64<T> vector) => vector.As<T, long>(); 306public static Vector64<nint> AsNInt<T>(this Vector64<T> vector) => vector.As<T, nint>(); 315public static Vector64<nuint> AsNUInt<T>(this Vector64<T> vector) => vector.As<T, nuint>(); 324public static Vector64<sbyte> AsSByte<T>(this Vector64<T> vector) => vector.As<T, sbyte>(); 332public static Vector64<float> AsSingle<T>(this Vector64<T> vector) => vector.As<T, float>(); 341public static Vector64<ushort> AsUInt16<T>(this Vector64<T> vector) => vector.As<T, ushort>(); 350public static Vector64<uint> AsUInt32<T>(this Vector64<T> vector) => vector.As<T, uint>(); 359public static Vector64<ulong> AsUInt64<T>(this Vector64<T> vector) => vector.As<T, ulong>(); 1462return Create(lower.GetElementUnsafe(0), upper.GetElementUnsafe(0)).As<uint, T>(); 1485return Create(lower.GetElementUnsafe(1), upper.GetElementUnsafe(0)).As<uint, T>(); 1508return Create(lower.GetElementUnsafe(1), upper.GetElementUnsafe(1)).As<uint, T>(); 1531return Create(lower.GetElementUnsafe(0), upper.GetElementUnsafe(1)).As<uint, T>(); 2193return VectorMath.IsEvenIntegerSingle<Vector64<float>, Vector64<uint>>(vector.AsSingle()).As<float, T>(); 2197return VectorMath.IsEvenIntegerDouble<Vector64<double>, Vector64<ulong>>(vector.AsDouble()).As<double, T>(); 2209return ~IsZero(AndNot(Vector64<float>.PositiveInfinity.AsUInt32(), vector.AsUInt32())).As<uint, T>(); 2213return ~IsZero(AndNot(Vector64<double>.PositiveInfinity.AsUInt64(), vector.AsUInt64())).As<ulong, T>(); 2265return LessThan(vector.AsInt32(), Vector64<int>.Zero).As<int, T>(); 2269return LessThan(vector.AsInt64(), Vector64<long>.Zero).As<long, T>(); 2284return Equals(vector, Vector64<float>.NegativeInfinity.As<float, T>()); 2288return Equals(vector, Vector64<double>.NegativeInfinity.As<double, T>()); 2300return LessThan(Abs(vector).AsUInt32() - Create<uint>(float.SmallestNormalBits), Create<uint>(float.PositiveInfinityBits - float.SmallestNormalBits)).As<uint, T>(); 2304return LessThan(Abs(vector).AsUInt64() - Create<ulong>(double.SmallestNormalBits), Create<ulong>(double.PositiveInfinityBits - double.SmallestNormalBits)).As<ulong, T>(); 2316return VectorMath.IsOddIntegerSingle<Vector64<float>, Vector64<uint>>(vector.AsSingle()).As<float, T>(); 2320return VectorMath.IsOddIntegerDouble<Vector64<double>, Vector64<ulong>>(vector.AsDouble()).As<double, T>(); 2336return GreaterThanOrEqual(vector.AsInt32(), Vector64<int>.Zero).As<int, T>(); 2340return GreaterThanOrEqual(vector.AsInt64(), Vector64<long>.Zero).As<long, T>(); 2355return Equals(vector, Vector64<float>.PositiveInfinity.As<float, T>()); 2359return Equals(vector, Vector64<double>.PositiveInfinity.As<double, T>()); 2371return LessThan(Abs(vector).AsUInt32() - Vector64<uint>.One, Create<uint>(float.MaxTrailingSignificand)).As<uint, T>(); 2375return LessThan(Abs(vector).AsUInt64() - Vector64<ulong>.One, Create<ulong>(double.MaxTrailingSignificand)).As<ulong, T>();