typeof(T) == typeof(other) gets elidedtypeof(T) == typeof(float) is how our generic Scalar type works everywhere.if (typeof(T) == typeof(float)) is somewhat covered by Vector<T> tests iirc so that's safetypeof(T) == typeof(other)typeof(T) == typeof(float)if (typeof(T) == typeof(float))if (typeof(T) == typeof(float)) return System.Numerics.<T>.F(Scalar.As(param1), ...);
// Scalar based implementationif (typeof(T) == typeof(float)) return System.Numerics.<T>.F(Scalar.As(param1), ...);
static TOrRes Inner(param1 T, ...)
{
// Scalar based implementation
}
return Inner(param1, ...);