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)
37public static Vector128<T> Invoke(Vector128<T> x) => x - Vector128<T>.One;
System\Numerics\Tensors\netcore\TensorPrimitives.Exp10M1.cs (1)
42public static Vector128<T> Invoke(Vector128<T> x) => Exp10Operator<T>.Invoke(x) - Vector128<T>.One;
System\Numerics\Tensors\netcore\TensorPrimitives.Exp2M1.cs (1)
42public static Vector128<T> Invoke(Vector128<T> x) => Exp2Operator<T>.Invoke(x) - Vector128<T>.One;
System\Numerics\Tensors\netcore\TensorPrimitives.ExpM1.cs (1)
42public static Vector128<T> Invoke(Vector128<T> x) => ExpOperator<T>.Invoke(x) - Vector128<T>.One;
System\Numerics\Tensors\netcore\TensorPrimitives.Increment.cs (1)
37public static Vector128<T> Invoke(Vector128<T> x) => x + Vector128<T>.One;
System\Numerics\Tensors\netcore\TensorPrimitives.IsPow2.cs (1)
55Vector128.Equals(x & (x - Vector128<T>.One), Vector128<T>.Zero) &
System\Numerics\Tensors\netcore\TensorPrimitives.Log10P1.cs (1)
47public static Vector128<T> Invoke(Vector128<T> x) => Log10Operator<T>.Invoke(x + Vector128<T>.One);
System\Numerics\Tensors\netcore\TensorPrimitives.Log2P1.cs (1)
47public static Vector128<T> Invoke(Vector128<T> x) => Log2Operator<T>.Invoke(x + Vector128<T>.One);
System\Numerics\Tensors\netcore\TensorPrimitives.LogP1.cs (1)
47public static Vector128<T> Invoke(Vector128<T> x) => LogOperator<T>.Invoke(x + Vector128<T>.One);
System\Numerics\Tensors\netcore\TensorPrimitives.Reciprocal.cs (4)
104public static Vector128<T> Invoke(Vector128<T> x) => Vector128<T>.One / x; 113public static Vector128<T> Invoke(Vector128<T> x) => Vector128<T>.One / Vector128.Sqrt(x); 149return Vector128<T>.One / x; 215return Vector128<T>.One / Vector128.Sqrt(x);
System\Numerics\Tensors\netcore\TensorPrimitives.Sign.cs (2)
42Vector128<int>.One); 59Vector128<int>.One,
System\Numerics\Tensors\netcore\TensorPrimitives.TrailingZeroCount.cs (1)
45return 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)
1072Vector128<byte> one = Vector128<byte>.One;
src\libraries\System.Private.CoreLib\src\System\Collections\BitArray.cs (3)
792Vector128<byte> ones = Vector128<byte>.One; 818Vector128<byte> ones = Vector128<byte>.One; 842Vector128<byte> ones = Vector128<byte>.One;
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.Impl.cs (1)
1301Vector128<float> vTemp = Vector128<float>.One / det;
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128.cs (4)
1971return IsZero(vector & Vector128<T>.One); 2098return ~IsZero(vector & Vector128<T>.One); 2151return LessThan(Abs(vector).AsUInt32() - Vector128<uint>.One, Create<uint>(float.MaxTrailingSignificand)).As<uint, T>(); 2155return LessThan(Abs(vector).AsUInt64() - Vector128<ulong>.One, Create<ulong>(double.MaxTrailingSignificand)).As<ulong, T>();