BUG: unexpected type promotion multiplying a masked array with an integer · Issue #27029 · numpy/numpy

Describe the issue: Multiplying a masked array by 2 causes an unexpected type promotion from float32 to float64 or from int32 to int64. The same does not happen for regular arrays. Reproduce the co...