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