- Edited
I am trying to convert this expression here into gd script.
This is what I have:
(1/8)(pow(level,2)-level+600((pow(level,(level/7))-pow(2,(1/7)))/((pow(2,(1/7))-1))))
but the answer i'm getting is the max -int (-9223372036854775800)
The answer if i plug in 50 should be 101339.026949