This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: kawa numerics unstable
- From: thomas kirk <tk at research dot att dot com>
- To: Per Bothner <per at bothner dot com>
- Cc: "kawa at sourceware dot org" <kawa at sourceware dot org>
- Date: Thu, 12 Nov 2009 14:56:02 -0500
- Subject: Re: kawa numerics unstable
- References: <C6DD0A14.1EA0E%lexaay@gmail.com> <4AB6F6A5.1040405@bothner.com>
- Reply-to: tk at research dot att dot com
not clear that this is a bug, but it's a change in behavior. before
your numerics changes, kawa would automatically convert java numeric
types to kawa numerics (in some situations, at least):
#|kawa:34|# (invoke (invoke-static <java.lang.Integer> 'parseInt "1") 'getClass)
class gnu.math.IntNum
#|kawa:35|# (scheme-implementation-version)
1.9.3 (revision 6275M)
in the latest revision, this conversion doesn't happen:
#|kawa:70|# (invoke (invoke-static <java.lang.Integer> 'parseInt "1") 'getClass)
class java.lang.Integer
#|kawa:71|# (scheme-implementation-version)
1.9.90 (revision 6451M)
so, is the intention that code should now do this conversion explicitly?
or is it an unintended consequence?
thanks..