mirror of https://github.com/CGAL/cgal
Merged removal of unnecessary cast for SunPro
This commit is contained in:
parent
ac82708815
commit
e9bc3893a0
|
|
@ -49,8 +49,7 @@ inline CORE::BigFloat MP_Float_to_BigFloat( MP_Float const& b )
|
||||||
d += d_exp * CORE::BigFloat(b.of_exp(i));
|
d += d_exp * CORE::BigFloat(b.of_exp(i));
|
||||||
}
|
}
|
||||||
|
|
||||||
// The cast is necessary for SunPro.
|
return d * CORE::BigFloat::exp2(exp * log_limb);
|
||||||
return d * CORE::BigFloat::exp2(static_cast<int>(exp * log_limb));
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue