I understand the way the pow functions works :)<br>My objective was to change it so that the source code generation could still use the pow function instead of the multiplications.<br>The source code would then be used for documentation purposes. <br>
I am considering adding support for latex formulas but the output would be very hard to understand with those multiplications.<br><br>The idea could be to have some variable to change the behavior of a specialization of pow, unfortunately I think such variable might have to be static... which brings threading/locking problems...<br>
<br>any advice about the best way to implement it.<br><br>Thanks!<br>