mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-18 14:34:17 +08:00
compilation fix (sun CC)
This commit is contained in:
parent
c10b919edb
commit
4c85fa8c73
@ -115,17 +115,17 @@ MatrixBase<Derived>::blueNorm() const
|
||||
ei_assert(false && "the algorithm cannot be guaranteed on this computer");
|
||||
}
|
||||
iexp = -((1-iemin)/2);
|
||||
b1 = std::pow(ibeta, iexp); // lower boundary of midrange
|
||||
b1 = std::pow(double(ibeta),iexp); // lower boundary of midrange
|
||||
iexp = (iemax + 1 - it)/2;
|
||||
b2 = std::pow(ibeta,iexp); // upper boundary of midrange
|
||||
b2 = std::pow(double(ibeta),iexp); // upper boundary of midrange
|
||||
|
||||
iexp = (2-iemin)/2;
|
||||
s1m = std::pow(ibeta,iexp); // scaling factor for lower range
|
||||
s1m = std::pow(double(ibeta),iexp); // scaling factor for lower range
|
||||
iexp = - ((iemax+it)/2);
|
||||
s2m = std::pow(ibeta,iexp); // scaling factor for upper range
|
||||
s2m = std::pow(double(ibeta),iexp); // scaling factor for upper range
|
||||
|
||||
overfl = rbig*s2m; // overfow boundary for abig
|
||||
eps = std::pow(ibeta, 1-it);
|
||||
eps = std::pow(double(ibeta), 1-it);
|
||||
relerr = ei_sqrt(eps); // tolerance for neglecting asml
|
||||
abig = 1.0/eps - 1.0;
|
||||
if (RealScalar(nbig)>abig) nmax = abig; // largest safe n
|
||||
|
Loading…
Reference in New Issue
Block a user