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] |
Greg Harvey wrote: > > Maciej Stachowiak <mstachow@alum.mit.edu> writes: > > > Greg Harvey wrote: > > > > > > * transcend.scm: new module, containing the transcendental > > > functions > > > > > > > A slimmed down boot-9 is a good thing, but removing these functions is a > > bad > > idea, as I believe they are needed to be RnRS compliant (otherwise, only > > versions whose name is prefixed with a dollar sign are defined). > > > > 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). - Maciej