Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 332840 Details for
Bug 446698
dev-libs/ppl-1.1 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
dev-libs/ppl-1.0 patch
ppl-1.0-numeric_limits-redefined.patch (text/plain), 4.42 KB, created by
Jimmy.Jazz
on 2012-12-20 21:15:13 UTC
(
hide
)
Description:
dev-libs/ppl-1.0 patch
Filename:
MIME Type:
Creator:
Jimmy.Jazz
Created:
2012-12-20 21:15:13 UTC
Size:
4.42 KB
patch
obsolete
>--- src/mp_std_bits.cc.ori 2012-12-20 21:57:17.534070843 +0100 >+++ src/mp_std_bits.cc 2012-12-20 21:57:33.591868969 +0100 >@@ -45,7 +45,6 @@ > const bool std::numeric_limits<mpz_class>::is_bounded; > const bool std::numeric_limits<mpz_class>::is_modulo; > const bool std::numeric_limits<mpz_class>::traps; >-const bool std::numeric_limits<mpz_class>::tininess_before; > const std::float_round_style std::numeric_limits<mpz_class>::round_style; > > const bool std::numeric_limits<mpq_class>::is_specialized; >@@ -68,5 +67,4 @@ > const bool std::numeric_limits<mpq_class>::is_bounded; > const bool std::numeric_limits<mpq_class>::is_modulo; > const bool std::numeric_limits<mpq_class>::traps; >-const bool std::numeric_limits<mpq_class>::tininess_before; > const std::float_round_style std::numeric_limits<mpq_class>::round_style; >--- src/mp_std_bits.defs.hh.ori 2012-12-20 22:00:34.210598284 +0100 >+++ src/mp_std_bits.defs.hh 2012-12-20 22:05:53.403585485 +0100 >@@ -38,132 +38,6 @@ > #endif // defined(PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS) > void swap(mpq_class& x, mpq_class& y); > >-namespace std { >- >-#ifdef PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS >-//! Specialization of std::numeric_limits. >-#endif // defined(PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS) >-template <> >-class numeric_limits<mpz_class> { >-private: >- typedef mpz_class Type; >- >-public: >- static const bool is_specialized = true; >- static const int digits = 0; >- static const int digits10 = 0; >- static const bool is_signed = true; >- static const bool is_integer = true; >- static const bool is_exact = true; >- static const int radix = 2; >- static const int min_exponent = 0; >- static const int min_exponent10 = 0; >- static const int max_exponent = 0; >- static const int max_exponent10 = 0; >- static const bool has_infinity = false; >- static const bool has_quiet_NaN = false; >- static const bool has_signaling_NaN = false; >- static const float_denorm_style has_denorm = denorm_absent; >- static const bool has_denorm_loss = false; >- static const bool is_iec559 = false; >- static const bool is_bounded = false; >- static const bool is_modulo = false; >- static const bool traps = false; >- static const bool tininess_before = false; >- static const float_round_style round_style = round_toward_zero; >- >- static Type min() { >- return static_cast<Type>(0); >- } >- >- static Type max() { >- return static_cast<Type>(0); >- } >- >- static Type epsilon() { >- return static_cast<Type>(0); >- } >- >- static Type round_error() { >- return static_cast<Type>(0); >- } >- >- static Type infinity() { >- return static_cast<Type>(0); >- } >- >- static Type quiet_NaN() { >- return static_cast<Type>(0); >- } >- >- static Type denorm_min() { >- return static_cast<Type>(1); >- } >-}; >- >-#ifdef PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS >-//! Specialization of std::numeric_limits. >-#endif // defined(PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS) >-template <> >-class numeric_limits<mpq_class> { >-private: >- typedef mpq_class Type; >- >-public: >- static const bool is_specialized = true; >- static const int digits = 0; >- static const int digits10 = 0; >- static const bool is_signed = true; >- static const bool is_integer = false; >- static const bool is_exact = true; >- static const int radix = 2; >- static const int min_exponent = 0; >- static const int min_exponent10 = 0; >- static const int max_exponent = 0; >- static const int max_exponent10 = 0; >- static const bool has_infinity = false; >- static const bool has_quiet_NaN = false; >- static const bool has_signaling_NaN = false; >- static const float_denorm_style has_denorm = denorm_absent; >- static const bool has_denorm_loss = false; >- static const bool is_iec559 = false; >- static const bool is_bounded = false; >- static const bool is_modulo = false; >- static const bool traps = false; >- static const bool tininess_before = false; >- static const float_round_style round_style = round_toward_zero; >- >- static Type min() { >- return static_cast<Type>(0); >- } >- >- static Type max() { >- return static_cast<Type>(0); >- } >- >- static Type epsilon() { >- return static_cast<Type>(0); >- } >- >- static Type round_error() { >- return static_cast<Type>(0); >- } >- >- static Type infinity() { >- return static_cast<Type>(0); >- } >- >- static Type quiet_NaN() { >- return static_cast<Type>(0); >- } >- >- static Type denorm_min() { >- return static_cast<Type>(0); >- } >-}; >- >-} // namespace std >- > #include "mp_std_bits.inlines.hh" > > #endif // !defined(PPL_mp_std_bits_defs_hh)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 446698
: 332840 |
332842