change code-point-of implementation from Long to Number