Is there fast and simple way to make an "%" operation for 64bit integer given as "string" (for example "1bed658e4cbba3a7")?
I know that Google Closure Library has such function, but I'd prefer not to use any external libraries, and moreover internally it works as three operations (division, multiplication and substraction) and seems to be not optimal.
Added: Problem is that JavaScript cannot handle 64bit integers without loosing precision. For details see this question