mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
fixing asin/acos when complex numbers are disabled
This commit is contained in:
parent
ad487c7d03
commit
56a6a0b0b4
1 changed files with 1 additions and 1 deletions
2
eval.c
2
eval.c
|
@ -1495,7 +1495,7 @@ sexp sexp_register_optimization (sexp ctx, sexp self, sexp_sint_t n, sexp f, sex
|
|||
return sexp_make_flonum(ctx, cname(d)); \
|
||||
}
|
||||
|
||||
#ifdef SEXP_USE_COMPLEX
|
||||
#if SEXP_USE_COMPLEX
|
||||
#define define_complex_math_op(name, cname, f, a, b) \
|
||||
sexp name (sexp ctx, sexp self, sexp_sint_t n, sexp z) { \
|
||||
double d; \
|
||||
|
|
Loading…
Add table
Reference in a new issue