mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-21 14:49:18 +02:00
preserving exactness when adding ratios and complex numbers
This commit is contained in:
parent
65f5e9823a
commit
d669b8a788
1 changed files with 0 additions and 2 deletions
|
@ -995,8 +995,6 @@ sexp sexp_add (sexp ctx, sexp a, sexp b) {
|
|||
#if SEXP_USE_COMPLEX
|
||||
#if SEXP_USE_RATIOS
|
||||
case SEXP_NUM_RAT_CPX:
|
||||
a = tmp = sexp_make_flonum(ctx, sexp_ratio_to_double(a));
|
||||
/* ... FALLTHROUGH ... */
|
||||
#endif
|
||||
case SEXP_NUM_FLO_CPX:
|
||||
case SEXP_NUM_FIX_CPX:
|
||||
|
|
Loading…
Add table
Reference in a new issue