diff options
author | Andy Wingo <wingo@pobox.com> | 2017-02-28 10:12:57 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2017-02-28 10:15:22 +0100 |
commit | f428e93ee7a4be76341444b228585755807b282f (patch) | |
tree | e7d25e1e1f079bf7a87914df4fdc9cc88d7dd29d /libguile/eval.c | |
parent | 14c118144f2d28f904b4e68356ecba30ce79d9a6 (diff) | |
download | guile-f428e93ee7a4be76341444b228585755807b282f.tar.gz |
Fix (* x -1) for GOOPS types
* libguile/numbers.c (scm_product): Only reduce (* x -1) to (- x) when X
is a bignum. Fixes weirdness when X is not a number and instead
multiplication should dispatch to GOOPS. Thanks to Alejandro Sanchez
for the report.
Diffstat (limited to 'libguile/eval.c')
0 files changed, 0 insertions, 0 deletions