19 references to IsInt32Like
System.Numerics.Tensors (19)
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertHelpers.cs (6)
41
if (
IsInt32Like
<TTo>() || IsUInt32Like<TTo>())
62
if (
IsInt32Like
<TTo>())
77
if (IsUInt32Like<TTo>() ||
IsInt32Like
<TTo>())
92
if (
IsInt32Like
<TTo>())
126
if (
IsInt32Like
<TFrom>())
213
if (typeof(TFrom) == typeof(float) &&
IsInt32Like
<TTo>())
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertSaturating.cs (4)
43
if (
IsInt32Like
<TFrom>() && typeof(TTo) == typeof(short))
55
if (IsInt64Like<TFrom>() &&
IsInt32Like
<TTo>())
91
if (
IsInt32Like
<TFrom>() && IsUInt32Like<TTo>())
97
if (IsUInt32Like<TFrom>() &&
IsInt32Like
<TTo>())
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertTruncating.cs (5)
33
((IsUInt32Like<TFrom>() ||
IsInt32Like
<TFrom>()) && (IsUInt32Like<TTo>() ||
IsInt32Like
<TTo>())) ||
63
if (
IsInt32Like
<TFrom>() && (typeof(TTo) == typeof(short) || typeof(TTo) == typeof(ushort)))
69
if (IsUInt64Like<TFrom>() && (IsUInt32Like<TTo>() ||
IsInt32Like
<TTo>()))
75
if (IsInt64Like<TFrom>() && (
IsInt32Like
<TTo>() || IsUInt32Like<TTo>()))
System\Numerics\Tensors\netcore\TensorPrimitives.Divide.cs (1)
94
|| (Vector256.IsHardwareAccelerated &&
IsInt32Like
<T>());
System\Numerics\Tensors\netcore\TensorPrimitives.Sign.cs (3)
45
if (
IsInt32Like
<T>())
72
if (
IsInt32Like
<T>())
99
if (
IsInt32Like
<T>())