HenrikBengtsson / R.oo

R package: R.oo - R Object-Oriented Programming with or without References
https://cran.r-project.org/package=R.oo
20 stars 1 forks source link

hashCode(s) gives NA due to integer overflow for long strings #26

Closed HenrikBengtsson closed 2 years ago

HenrikBengtsson commented 2 years ago
> R.oo::hashCode("1234567890123456")
[1] 1744830464
> R.oo::hashCode("12345678901234567")
[1] NA
Warning message:
In asInt.Java(hashC) : NAs introduced by coercion to integer range