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)
39
public static Vector512<T> Invoke(Vector512<T> x) => x - Vector512<T>.
One
;
System\Numerics\Tensors\netcore\TensorPrimitives.Exp10M1.cs (1)
44
public static Vector512<T> Invoke(Vector512<T> x) => Exp10Operator<T>.Invoke(x) - Vector512<T>.
One
;
System\Numerics\Tensors\netcore\TensorPrimitives.Exp2M1.cs (1)
44
public static Vector512<T> Invoke(Vector512<T> x) => Exp2Operator<T>.Invoke(x) - Vector512<T>.
One
;
System\Numerics\Tensors\netcore\TensorPrimitives.ExpM1.cs (1)
44
public static Vector512<T> Invoke(Vector512<T> x) => ExpOperator<T>.Invoke(x) - Vector512<T>.
One
;
System\Numerics\Tensors\netcore\TensorPrimitives.Increment.cs (1)
39
public static Vector512<T> Invoke(Vector512<T> x) => x + Vector512<T>.
One
;
System\Numerics\Tensors\netcore\TensorPrimitives.IsPow2.cs (1)
66
Vector512.Equals(x & (x - Vector512<T>.
One
), Vector512<T>.Zero) &
System\Numerics\Tensors\netcore\TensorPrimitives.Log10P1.cs (1)
49
public static Vector512<T> Invoke(Vector512<T> x) => Log10Operator<T>.Invoke(x + Vector512<T>.
One
);
System\Numerics\Tensors\netcore\TensorPrimitives.Log2P1.cs (1)
49
public static Vector512<T> Invoke(Vector512<T> x) => Log2Operator<T>.Invoke(x + Vector512<T>.
One
);
System\Numerics\Tensors\netcore\TensorPrimitives.LogP1.cs (1)
49
public static Vector512<T> Invoke(Vector512<T> x) => LogOperator<T>.Invoke(x + Vector512<T>.
One
);
System\Numerics\Tensors\netcore\TensorPrimitives.Reciprocal.cs (4)
106
public static Vector512<T> Invoke(Vector512<T> x) => Vector512<T>.
One
/ x;
115
public static Vector512<T> Invoke(Vector512<T> x) => Vector512<T>.
One
/ Vector512.Sqrt(x);
180
return Vector512<T>.
One
/ x;
246
return Vector512<T>.
One
/ Vector512.Sqrt(x);
System\Numerics\Tensors\netcore\TensorPrimitives.Sign.cs (2)
98
Vector512<int>.
One
);
115
Vector512<int>.
One
,
System\Numerics\Tensors\netcore\TensorPrimitives.TrailingZeroCount.cs (1)
59
return PopCountOperator<T>.Invoke(~x & (x - Vector512<T>.
One
));
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (4)
2003
return IsZero(vector & Vector512<T>.
One
);
2130
return ~IsZero(vector & Vector512<T>.
One
);
2183
return LessThan(Abs(vector).AsUInt32() - Vector512<uint>.
One
, Create<uint>(float.MaxTrailingSignificand)).As<uint, T>();
2187
return LessThan(Abs(vector).AsUInt64() - Vector512<ulong>.
One
, Create<ulong>(double.MaxTrailingSignificand)).As<ulong, T>();