Counting multiplyadd ops
Implemented madd counting.
I named this op madd
because FMA
might seem to imply something about the hardware but we're really only describing the program. If you have a better suggestion let me know.
There were a lot of edge cases to deal with; I tried to handle them as gracefully as possible.
Edited by Andreas Klöckner