23 references to Create
System.Private.CoreLib (23)
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector.cs (15)
68public static bool All<T>(Vector<T> vector, T value) => vector == Create(value); 100public static bool Any<T>(Vector<T> vector, T value) => EqualsAny(vector, Create(value)); 787public static Vector<T> CreateSequence<T>(T start, T step) => (Vector<T>.Indices * step) + Create(start); 1394return ~IsZero(AndNot(Create<uint>(float.PositiveInfinityBits), vector.As<T, uint>())).As<uint, T>(); 1398return ~IsZero(AndNot(Create<ulong>(double.PositiveInfinityBits), vector.As<T, ulong>())).As<ulong, T>(); 1473return Equals(vector, Create(float.NegativeInfinity).As<float, T>()); 1477return Equals(vector, Create(double.NegativeInfinity).As<double, T>()); 1489return LessThan(Abs(vector).As<T, uint>() - Create<uint>(float.SmallestNormalBits), Create<uint>(float.PositiveInfinityBits - float.SmallestNormalBits)).As<uint, T>(); 1493return LessThan(Abs(vector).As<T, ulong>() - Create<ulong>(double.SmallestNormalBits), Create<ulong>(double.PositiveInfinityBits - double.SmallestNormalBits)).As<ulong, T>(); 1548return Equals(vector, Create(float.PositiveInfinity).As<float, T>()); 1552return Equals(vector, Create(double.PositiveInfinity).As<double, T>()); 1564return LessThan(Abs(vector).As<T, uint>() - Vector<uint>.One, Create<uint>(float.MaxTrailingSignificand)).As<uint, T>(); 1568return LessThan(Abs(vector).As<T, ulong>() - Vector<ulong>.One, Create<ulong>(double.MaxTrailingSignificand)).As<ulong, T>();
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector_1.cs (6)
43this = Vector.Create(value); 132get => Vector.Create(Scalar<T>.AllBitsSet); 192get => Vector.Create(Scalar<T>.One); 503public static Vector<T> operator *(Vector<T> value, T factor) => value * Vector.Create(factor); 580return value ^ Vector.Create(-0.0f).As<float, T>(); 584return value ^ Vector.Create(-0.0).As<double, T>();
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\VectorMath.cs (2)
2521result = (TVector)(object)Vector.Create(value); 2555result = (TVector)(object)Vector.Create(value);