This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [ANN]: slimmed down boot-9, revision 1


Maciej Stachowiak <mstachow@alum.mit.edu> writes:

> > Oops, wasn't keeping a close eye on the standard.  I don't see why
> > these couldn't be moved to numbers.c, though (couldn't we just lose
> > the $blah functions, and do the entire thing in c?).
> 
> That would probably be a good idea in general, but numbers.c tries to be
> clever about lifting the C double-taking versions of these functions
> almost 
> directly so it might be more work than you expect (I imagine it would
> not
> be too hard to provide a "complex" version of each of these functions as
> well which takes two doubles per argument (or maybe even use the
> built-in 
> complex functions on C systems that support them).
> 

Actually, I'm right now just taking the very easy, do exactly what the
current versions do approach (complex numbers apparently being
something that I've completely repressed ;).

-- 
Greg