18 references to AsUInt64
System.Numerics.Tensors (15)
System\Numerics\Tensors\netcore\Common\TensorPrimitives.IBooleanUnaryOperator.cs (1)
80
typeof(T) == typeof(double) ? Vector512.EqualsAny(result.
AsUInt64
(), Vector512<ulong>.Zero) :
System\Numerics\Tensors\netcore\TensorPrimitives.CosPi.cs (1)
101
if (Vector512.GreaterThanAny(xpi.
AsUInt64
() & Vector512.Create(CosOperatorDouble.SignMask), Vector512.Create(CosOperatorDouble.MaxVectorizedValue)))
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMax.cs (3)
512
if (sizeof(T) == 8) return Avx512F.BlendVariable(left.
AsUInt64
(), right.
AsUInt64
(), (~mask).
AsUInt64
()).As<ulong, T>();
System\Numerics\Tensors\netcore\TensorPrimitives.LeadingZeroCount.cs (1)
178
return Avx512CD.LeadingZeroCount(x.
AsUInt64
()).As<ulong, T>();
System\Numerics\Tensors\netcore\TensorPrimitives.Sinh.cs (2)
125
Vector512<ulong> sign = x.
AsUInt64
() & Vector512.Create(~(ulong)long.MaxValue);
126
return (sign ^ result.
AsUInt64
()).As<ulong, T>();
System\Numerics\Tensors\netcore\TensorPrimitives.SinPi.cs (1)
101
if (Vector512.GreaterThanAny(xpi.
AsUInt64
() & Vector512.Create(SinOperatorDouble.SignMask), Vector512.Create(SinOperatorDouble.MaxVectorizedValue)))
System\Numerics\Tensors\netcore\TensorPrimitives.Tan.cs (4)
351
if (Vector512.GreaterThanAny(uxMasked.
AsUInt64
(), Vector512.Create(MaxVectorizedValue)))
358
Vector512<ulong> odd = dn.
AsUInt64
() << 63;
389
Vector512<double> result = (poly.
AsUInt64
() ^ (x.
AsUInt64
() & Vector512.Create(~SignMask))).AsDouble();
System\Numerics\Tensors\netcore\TensorPrimitives.Tanh.cs (2)
124
Vector512<ulong> sign = x.
AsUInt64
() & Vector512.Create(~(ulong)long.MaxValue);
125
return (sign ^ (-z / (z + Vector512.Create(2d))).
AsUInt64
()).As<ulong, T>();
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512.cs (3)
2010
return ~IsZero(AndNot(Create<ulong>(double.PositiveInfinityBits), vector.
AsUInt64
())).As<ulong, T>();
2105
return LessThan(Abs(vector).
AsUInt64
() - Create<ulong>(double.SmallestNormalBits), Create<ulong>(double.PositiveInfinityBits - double.SmallestNormalBits)).As<ulong, T>();
2180
return LessThan(Abs(vector).
AsUInt64
() - Vector512<ulong>.One, Create<ulong>(double.MaxTrailingSignificand)).As<ulong, T>();