fixing asin/acos when complex numbers are disabled

This commit is contained in:
Alex Shinn 2017-09-01 16:56:26 +09:00
parent ad487c7d03
commit 56a6a0b0b4

2
eval.c
View file

@ -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)); \ 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) \ #define define_complex_math_op(name, cname, f, a, b) \
sexp name (sexp ctx, sexp self, sexp_sint_t n, sexp z) { \ sexp name (sexp ctx, sexp self, sexp_sint_t n, sexp z) { \
double d; \ double d; \