mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-20 06:09:18 +02:00
Conservatively reducing an initial estimate.
This commit is contained in:
parent
0daa2f270a
commit
2f56d37f0c
1 changed files with 1 additions and 1 deletions
2
bignum.c
2
bignum.c
|
@ -477,7 +477,7 @@ sexp sexp_bignum_expt (sexp ctx, sexp a, sexp b) {
|
||||||
return sexp_bignum_normalize(res);
|
return sexp_bignum_normalize(res);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define SEXP_MAX_ACCURATE_FLONUM_SQRT 1.15292150460685e18 /* 2^60 */
|
#define SEXP_MAX_ACCURATE_FLONUM_SQRT 1.12589990684262e15 /* 2^50 */
|
||||||
|
|
||||||
sexp sexp_bignum_sqrt (sexp ctx, sexp a) { /* Babylonian method */
|
sexp sexp_bignum_sqrt (sexp ctx, sexp a) { /* Babylonian method */
|
||||||
sexp_gc_var4(res, rem, tmp, tmpa);
|
sexp_gc_var4(res, rem, tmp, tmpa);
|
||||||
|
|
Loading…
Add table
Reference in a new issue