chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] [PATCH] Make fx*? aware of non-fixnum operands


From: lemonboy
Subject: [Chicken-hackers] [PATCH] Make fx*? aware of non-fixnum operands
Date: Mon, 1 May 2017 13:35:19 +0200

Hello hackers,
I've just finished debugging a silly yet subtle bug where expressions like
`(fx*? 1 (fx*? #xffffffff #xffffffff))` would evaluate to 3 instead of #f.
Attached is a patch that makes `fx*?` aware of non-fixnum arguments and
makes it behave like the other `fx?` operators and return #f.
The .patch is made against the chicken-5 branch and I think applies cleanly
to master.

Cheers,
Lemonboy

Attachment: 0001-Make-fx-aware-of-non-fixnum-arguments.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]