Open kaushikcfd opened 1 year ago
We should probably use np.min_scalar_type
in get_common_dtype_of_ary_or_scalars?
Jax is another important precedent here. They have put considerable thought into their type promotion semantics. It might be reasonable to follow their lead, which I think might, in this case, match the semantics you're after.