24 references to One
System.Numerics.Tensors (20)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBooleanUnaryOperator.cs (4)
261(v & Vector512<byte>.One).StoreUnsafe(ref Unsafe.As<bool, byte>(ref destinationRef), (uint)i); 372(v & Vector512<byte>.One).StoreUnsafe(ref Unsafe.As<bool, byte>(ref destinationRef), (uint)i); 493(v & Vector512<byte>.One).StoreUnsafe(ref Unsafe.As<bool, byte>(ref destinationRef), (uint)i); 630(v & Vector512<byte>.One).StoreUnsafe(ref Unsafe.As<bool, byte>(ref destinationRef), (uint)i);
System\Numerics\Tensors\netcore\TensorPrimitives.Decrement.cs (1)
39public static Vector512<T> Invoke(Vector512<T> x) => x - Vector512<T>.One;
System\Numerics\Tensors\netcore\TensorPrimitives.Exp10M1.cs (1)
44public static Vector512<T> Invoke(Vector512<T> x) => Exp10Operator<T>.Invoke(x) - Vector512<T>.One;
System\Numerics\Tensors\netcore\TensorPrimitives.Exp2M1.cs (1)
44public static Vector512<T> Invoke(Vector512<T> x) => Exp2Operator<T>.Invoke(x) - Vector512<T>.One;
System\Numerics\Tensors\netcore\TensorPrimitives.ExpM1.cs (1)
44public static Vector512<T> Invoke(Vector512<T> x) => ExpOperator<T>.Invoke(x) - Vector512<T>.One;
System\Numerics\Tensors\netcore\TensorPrimitives.Increment.cs (1)
39public static Vector512<T> Invoke(Vector512<T> x) => x + Vector512<T>.One;
System\Numerics\Tensors\netcore\TensorPrimitives.IsPow2.cs (1)
66Vector512.Equals(x & (x - Vector512<T>.One), Vector512<T>.Zero) &
System\Numerics\Tensors\netcore\TensorPrimitives.Log10P1.cs (1)
49public static Vector512<T> Invoke(Vector512<T> x) => Log10Operator<T>.Invoke(x + Vector512<T>.One);
System\Numerics\Tensors\netcore\TensorPrimitives.Log2P1.cs (1)
49public static Vector512<T> Invoke(Vector512<T> x) => Log2Operator<T>.Invoke(x + Vector512<T>.One);
System\Numerics\Tensors\netcore\TensorPrimitives.LogP1.cs (1)
49public static Vector512<T> Invoke(Vector512<T> x) => LogOperator<T>.Invoke(x + Vector512<T>.One);
System\Numerics\Tensors\netcore\TensorPrimitives.Reciprocal.cs (4)
106public static Vector512<T> Invoke(Vector512<T> x) => Vector512<T>.One / x; 115public static Vector512<T> Invoke(Vector512<T> x) => Vector512<T>.One / Vector512.Sqrt(x); 180return Vector512<T>.One / x; 246return Vector512<T>.One / Vector512.Sqrt(x);
System\Numerics\Tensors\netcore\TensorPrimitives.Sign.cs (2)
98Vector512<int>.One); 115Vector512<int>.One,
System\Numerics\Tensors\netcore\TensorPrimitives.TrailingZeroCount.cs (1)
59return PopCountOperator<T>.Invoke(~x & (x - Vector512<T>.One));
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (4)
2003return IsZero(vector & Vector512<T>.One); 2130return ~IsZero(vector & Vector512<T>.One); 2183return LessThan(Abs(vector).AsUInt32() - Vector512<uint>.One, Create<uint>(float.MaxTrailingSignificand)).As<uint, T>(); 2187return LessThan(Abs(vector).AsUInt64() - Vector512<ulong>.One, Create<ulong>(double.MaxTrailingSignificand)).As<ulong, T>();