felixhao28/JSCPP

Fix <math.h>pow function

Clemenard opened this issue · 1 comments

Here is my correction

rt.regFunc ((rt, _this, x, y) ->
        rt.val(tDouble,x.v ** y.v)
    ), g, "pow", [ tDouble,tDouble ], tDouble

Thanks!