[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MPFRCPP] Fwd: MPFRCPP Bug?
From: |
Alexey Beshenov |
Subject: |
[MPFRCPP] Fwd: MPFRCPP Bug? |
Date: |
Sat, 15 Sep 2007 03:36:16 +0400 |
User-agent: |
KMail/1.9.5 |
---------- Forwarded Message ----------
Subject: MPFRCPP Bug?
Date: Saturday 15 September 2007 02:45
From: Brian Gladman <address@hidden>
To: Alexey Beshenov <address@hidden>
Hi Alexey
I think there is a small error in mpfrcpp 1.4.1 - the file
simple_functions.hpp conatins the lines:
inline Real besselY1 (const Real& x) throw() {
Real y (Real::getParameters().getDefaultPrecision());
mpfr_Y1 (y.getMpfrT(), x.getMpfrT(),
Real::getParameters().getDefaultRoundMode().getMpfrRndT());
return y;
}
but the third line should be:
mpfr_y1 (y.getMpfrT(), x.getMpfrT(),
Real::getParameters().getDefaultRoundMode().getMpfrRndT());
That is, the MPFR function mpfr_y1( ) uses a lower case Y, not upper
case as in the current source file.
best regards,
Brian
-------------------------------------------------------
--
Alexey Beshenov <address@hidden>
http://beshenov.ru/
- [MPFRCPP] Fwd: MPFRCPP Bug?,
Alexey Beshenov <=