mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 05:39:18 +02:00
adding missing commit (issue #815)
This commit is contained in:
parent
fae48a3790
commit
940f315b67
1 changed files with 7 additions and 0 deletions
|
@ -1080,6 +1080,13 @@ SEXP_API sexp sexp_make_unsigned_integer(sexp ctx, sexp_luint_t x);
|
||||||
else \
|
else \
|
||||||
sexp_negate_exact(x)
|
sexp_negate_exact(x)
|
||||||
|
|
||||||
|
#define sexp_negate_maybe_ratio(x) \
|
||||||
|
if (sexp_ratiop(x)) { \
|
||||||
|
sexp_negate_exact(sexp_ratio_numerator(x)); \
|
||||||
|
} else { \
|
||||||
|
sexp_negate(x); \
|
||||||
|
}
|
||||||
|
|
||||||
#if SEXP_USE_FLONUMS || SEXP_USE_BIGNUMS
|
#if SEXP_USE_FLONUMS || SEXP_USE_BIGNUMS
|
||||||
|
|
||||||
#if SEXP_64_BIT
|
#if SEXP_64_BIT
|
||||||
|
|
Loading…
Add table
Reference in a new issue