mirror of
https://github.com/bellard/quickjs.git
synced 2026-05-27 19:09:36 +00:00
trim CHUD_BITS_PER_TERM precision in tests/test_bigint.js
This commit is contained in:
parent
e7562f90fd
commit
a0a7ee2a24
@ -193,7 +193,7 @@ function calc_pi(prec) {
|
||||
const CHUD_B = 545140134n;
|
||||
const CHUD_C = 640320n;
|
||||
const CHUD_C3 = 10939058860032000n; /* C^3/24 */
|
||||
const CHUD_BITS_PER_TERM = 47.11041313821584202247; /* log2(C/12)*3 */
|
||||
const CHUD_BITS_PER_TERM = 47.11041313821584; /* log2(C/12)*3 */
|
||||
|
||||
/* return [P, Q, G] */
|
||||
function chud_bs(a, b, need_G) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user