API

MuladdMacro.@muladdMacro
@muladd ex

Convert every combination of addition/subtraction and multiplication to a call of muladd.

If both of the involved operators are dotted, muladd is applied as a dot call. The order of summation might be changed.

Example

julia> @macroexpand @muladd a * b + c
:(muladd(a, b, c))
source
MuladdMacro.to_muladdFunction
to_muladd(ex)

Convert every combination of addition/subtraction and multiplication in expression ex to a call of muladd.

If both of the involved operators are dotted, muladd is applied as a dot call. The order of summation might be changed.

source