3 ms·Don't forget to special case negative numbers though.by detaro 10y agoDon't forget to special case negative numbers though.