29 references to One
System.Numerics.Tensors (20)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBooleanUnaryOperator.cs (4)
322
(v & Vector128<byte>.
One
).StoreUnsafe(ref Unsafe.As<bool, byte>(ref destinationRef), (uint)i);
439
(v & Vector128<byte>.
One
).StoreUnsafe(ref Unsafe.As<bool, byte>(ref destinationRef), (uint)i);
568
(v & Vector128<byte>.
One
).StoreUnsafe(ref Unsafe.As<bool, byte>(ref destinationRef), (uint)i);
725
(v & Vector128<byte>.
One
).StoreUnsafe(ref Unsafe.As<bool, byte>(ref destinationRef), (uint)i);
System\Numerics\Tensors\netcore\TensorPrimitives.Decrement.cs (1)
37
public static Vector128<T> Invoke(Vector128<T> x) => x - Vector128<T>.
One
;
System\Numerics\Tensors\netcore\TensorPrimitives.Exp10M1.cs (1)
42
public static Vector128<T> Invoke(Vector128<T> x) => Exp10Operator<T>.Invoke(x) - Vector128<T>.
One
;
System\Numerics\Tensors\netcore\TensorPrimitives.Exp2M1.cs (1)
42
public static Vector128<T> Invoke(Vector128<T> x) => Exp2Operator<T>.Invoke(x) - Vector128<T>.
One
;
System\Numerics\Tensors\netcore\TensorPrimitives.ExpM1.cs (1)
42
public static Vector128<T> Invoke(Vector128<T> x) => ExpOperator<T>.Invoke(x) - Vector128<T>.
One
;
System\Numerics\Tensors\netcore\TensorPrimitives.Increment.cs (1)
37
public static Vector128<T> Invoke(Vector128<T> x) => x + Vector128<T>.
One
;
System\Numerics\Tensors\netcore\TensorPrimitives.IsPow2.cs (1)
55
Vector128.Equals(x & (x - Vector128<T>.
One
), Vector128<T>.Zero) &
System\Numerics\Tensors\netcore\TensorPrimitives.Log10P1.cs (1)
47
public static Vector128<T> Invoke(Vector128<T> x) => Log10Operator<T>.Invoke(x + Vector128<T>.
One
);
System\Numerics\Tensors\netcore\TensorPrimitives.Log2P1.cs (1)
47
public static Vector128<T> Invoke(Vector128<T> x) => Log2Operator<T>.Invoke(x + Vector128<T>.
One
);
System\Numerics\Tensors\netcore\TensorPrimitives.LogP1.cs (1)
47
public static Vector128<T> Invoke(Vector128<T> x) => LogOperator<T>.Invoke(x + Vector128<T>.
One
);
System\Numerics\Tensors\netcore\TensorPrimitives.Reciprocal.cs (4)
104
public static Vector128<T> Invoke(Vector128<T> x) => Vector128<T>.
One
/ x;
113
public static Vector128<T> Invoke(Vector128<T> x) => Vector128<T>.
One
/ Vector128.Sqrt(x);
149
return Vector128<T>.
One
/ x;
215
return Vector128<T>.
One
/ Vector128.Sqrt(x);
System\Numerics\Tensors\netcore\TensorPrimitives.Sign.cs (2)
42
Vector128<int>.
One
);
59
Vector128<int>.
One
,
System\Numerics\Tensors\netcore\TensorPrimitives.TrailingZeroCount.cs (1)
45
return PopCountOperator<T>.Invoke(~x & (x - Vector128<T>.
One
));
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Buffers\Text\Base64Helper\Base64DecoderHelper.cs (1)
1072
Vector128<byte> one = Vector128<byte>.
One
;
src\libraries\System.Private.CoreLib\src\System\Collections\BitArray.cs (3)
792
Vector128<byte> ones = Vector128<byte>.
One
;
818
Vector128<byte> ones = Vector128<byte>.
One
;
842
Vector128<byte> ones = Vector128<byte>.
One
;
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.Impl.cs (1)
1301
Vector128<float> vTemp = Vector128<float>.
One
/ det;
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (4)
1971
return IsZero(vector & Vector128<T>.
One
);
2098
return ~IsZero(vector & Vector128<T>.
One
);
2151
return LessThan(Abs(vector).AsUInt32() - Vector128<uint>.
One
, Create<uint>(float.MaxTrailingSignificand)).As<uint, T>();
2155
return LessThan(Abs(vector).AsUInt64() - Vector128<ulong>.
One
, Create<ulong>(double.MaxTrailingSignificand)).As<ulong, T>();