xform doesnt like function calls in (?:)
svn: r4610
This commit is contained in:
parent
c0a8f9349e
commit
b16c7a28c1
|
@ -294,12 +294,10 @@ Scheme_Object *scheme_complex_divide(const Scheme_Object *_n, const Scheme_Objec
|
|||
|
||||
den = scheme_bin_plus(d, scheme_bin_mult(c, r));
|
||||
|
||||
i = scheme_bin_div((swap
|
||||
? scheme_bin_minus(a, scheme_bin_mult(b, r))
|
||||
: scheme_bin_minus(scheme_bin_mult(b, r), a)),
|
||||
den);
|
||||
r = scheme_bin_div(scheme_bin_plus(b, scheme_bin_mult(a, r)),
|
||||
den);
|
||||
if (swap) i = scheme_bin_div(scheme_bin_minus(a, scheme_bin_mult(b, r)), den);
|
||||
else i = scheme_bin_div(scheme_bin_minus(scheme_bin_mult(b, r), a), den);
|
||||
|
||||
r = scheme_bin_div(scheme_bin_plus(b, scheme_bin_mult(a, r)), den);
|
||||
|
||||
return scheme_make_complex(r, i);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user