This is the mail archive of the gsl-discuss@sourceware.org mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Bug-gsl] Potential Bugs?


At Tue, 17 Aug 2010 21:38:19 +0100,
Brian Gough wrote:
> The overflow exception is a valid warning.  It's also a bug in the
> sense that it is avoidable (although the end result is correct, z=-1
> since 1/inf=0).  It would be better written as (32/y)/y.

Of course, apart from the extra factor of 2^5 that gives an underflow
instead but it's probably preferable to an overflow.


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