dialects: (math) Use SameOperandsAndResultType
trait
#3761
Merged
SameOperandsAndResultType
trait
#3761