mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-07 05:06:37 +02:00
Fixing sqrt for builds with bignums but no complex.
This commit is contained in:
parent
b3eab11692
commit
ec8255a27b
1 changed files with 1 additions and 1 deletions
2
eval.c
2
eval.c
|
@ -1382,7 +1382,7 @@ sexp sexp_log (sexp ctx, sexp self, sexp_sint_t n, sexp z) {
|
||||||
}
|
}
|
||||||
|
|
||||||
sexp sexp_sqrt (sexp ctx, sexp self, sexp_sint_t n, sexp z) {
|
sexp sexp_sqrt (sexp ctx, sexp self, sexp_sint_t n, sexp z) {
|
||||||
#if SEXP_USE_COMPLEX
|
#if SEXP_USE_COMPLEX || SEXP_USE_BIGNUMS
|
||||||
int negativep = 0;
|
int negativep = 0;
|
||||||
#endif
|
#endif
|
||||||
double d, r;
|
double d, r;
|
||||||
|
|
Loading…
Add table
Reference in a new issue