summaryrefslogtreecommitdiff
path: root/libguile/eval.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2017-02-28 10:12:57 +0100
committerAndy Wingo <wingo@pobox.com>2017-02-28 10:15:22 +0100
commitf428e93ee7a4be76341444b228585755807b282f (patch)
treee7d25e1e1f079bf7a87914df4fdc9cc88d7dd29d /libguile/eval.c
parent14c118144f2d28f904b4e68356ecba30ce79d9a6 (diff)
downloadguile-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