Files
healpixjs-bigint/package.json
Grzegorz Kucmierz 9ad361f0ca
All checks were successful
npm-publish / publish (push) Successful in 4s
fix: resolve 32-bit truncation overflow in BigInt coordinate math
- Replaced 32-bit bitwise shifts (<<) with Math.pow() and BigInt shifts to support large nsides without modulo overflow.
- Recalculated compress_bits and spread_bits to explicitly loop 64-bit indexes rather than truncating with 8-bit Uint16Array table lookups (ctab/utab).
- Restored original C/C++ geographic precision boundaries allowing the engine to successfully encode and decode high-precision pixels natively up to Order 52.
2026-03-06 20:40:18 +00:00

35 lines
837 B
JSON

{
"name": "@gkucmierz/healpixjs-bigint",
"version": "1.0.2",
"description": "True BigInt port of healpixjs supporting orders beyond the 32-bit (<=14) limit",
"keywords": [
"healpix",
"astronomy",
"math",
"bigint",
"64-bit",
"3d",
"sphere",
"projection",
"geography",
"mapping",
"precision"
],
"files": [
"index.js",
"src/"
],
"main": "index.js",
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"homepage": "https://gitea.7u.pl/gkucmierz/healpixjs-bigint",
"repository": {
"type": "git",
"url": "git+https://gitea.7u.pl/gkucmierz/healpixjs-bigint.git"
},
"author": "Grzegorz Kućmierz",
"license": "MIT"
}