I am pretty sure that Julias's POW takes care that first argument is -1 and 
optimized it with something like MOD  You can check it, I suppose that modified 
Julia code with MOD will take pretty same time as code with POW.

Reply via email to