On Monday, December 16, 2002, at 07:30 AM, Martin Gasbichler wrote:
"Felix" == Felix Klock <felix_klock_ii@mac.com> writes:
[snip]
Felix> Has anyone else run into this problem? I'm going to go ahead
and hack
Felix> up the source in the meantime to try to work around this (I'll
probably
Felix> attempt to figure out how to convert an extended-number into a
double
Felix> from within the code for s48_extract_double) but I'd like to
know if
Felix> there's better way someone else has already come up with.
I think I used the whole S48 FFI -- except for the part you mention...
Does
,open floatnums
change anything?
Interesting. That seems to have fixed the problem. I had already come
up with a workaround, but this will be a bit nicer to use.
So what is the deal; is the default inexact arithmetic "better" than
using doubles internally? Somehow I doubt it, unless it is using
bignums so it can claim more accuracy than doubles. But once you're
using inexact numbers, I think that you've made it clear that you don't
care so much about accuracy...
but hey, what do I know... I'll try to find the docs on the floatnums
module.
Felix> p.s. do people find this list a better place to pose scheme48
specific
Felix> questions (as opposed to comp.lang.scheme)? Or would it be
better for
Felix> me to be asking there instead? I know this is really supposed
to be a
Felix> newsgroup about scsh (and I am a happy user of scsh!) but I
figured
Felix> since scsh is a layer on top of scheme48, some people were
probably
Felix> well-versed with both systems....
Scheme 48 has its own mailing lists, I recommend posting your report
to the bugs list. See the README file for details about the lists.
Actually, I had originally posted this message on the
comp.lang.scheme.scsh newsgroup; I didn't see a corresponding newsgroup
specifically for scheme48. I can see the bloom-beacon machine is
forwarding newsgroup posts onto the mailing list, so that explains that
bit of confusion. I will consider joining the scheme48 mailing list
since I seem to be running into occasional problems using it, but I do
think its a nice option to have Q+A like this available on a newsgroup
type system... if only there wasn't so much spam coming out of it.
-Felix
|