From: Martin Weber Date: 2003-07-26T06:20:41+09:00 Subject: Re: Patches to 1.8.0p4 to add Bessel functions for those that have 'em On Sat, Jul 26, 2003 at 01:41:35AM +0900, Yukihiro Matsumoto wrote: > Hi, > > In message "Patches to 1.8.0p4 to add Bessel functions for those that have 'em" > on 03/07/25, Mike Hall writes: > > |Here's some simple patches to configure.in, configure and math.c > |to add the Bessel functions on those systems that have them > |in their math library. They were made against 1.8.0 preview 4. > | > |It's probably better to have one #define for all the Bessels, > |and avoid the pollution of all the little #define's. > > I want Ruby to be as portable as possible among platforms, so that I > decided when we add Bessel functions to Math module, we will prepare > substitution functions for those who don't have them. > > If you (or others) come up with your version of Bessel functions (that > need not to be elegant) in a few days, I can merge them before 1.8.0. Why not simply use those of BSD ? Okay, the originate from Sun (due to the comment at the start of the files) but you can basically do what you want as long as the comment stays in the source file, so could include those in the ruby distribution ? *shrug* I mean why reinvent the wheel when usable code is out there. -martin