https://cran.r-project.org/web/packages/bitops/bitops.pdf
