mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-11-14 10:39:05 +00:00
fix link error in VC++ (Issue #83)
This commit is contained in:
parent
f0ba8fad5d
commit
cb801ffef8
1 changed files with 19 additions and 16 deletions
|
@ -162,11 +162,11 @@ namespace sprout {
|
||||||
-2.838224957069370695926e78L \
|
-2.838224957069370695926e78L \
|
||||||
}}
|
}}
|
||||||
|
|
||||||
template<typename T>
|
template<typename T, typename X = void>
|
||||||
struct bernoulli_numbers;
|
struct bernoulli_numbers;
|
||||||
|
|
||||||
template<>
|
template<typename X>
|
||||||
struct bernoulli_numbers<float> {
|
struct bernoulli_numbers<float, X> {
|
||||||
public:
|
public:
|
||||||
typedef float type;
|
typedef float type;
|
||||||
public:
|
public:
|
||||||
|
@ -178,14 +178,15 @@ namespace sprout {
|
||||||
SPROUT_STATIC_CONSTEXPR_DATA_MEMBER_INNER(SPROUT_BERNOULLI_TABLE_DEF_FLOAT)
|
SPROUT_STATIC_CONSTEXPR_DATA_MEMBER_INNER(SPROUT_BERNOULLI_TABLE_DEF_FLOAT)
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
SPROUT_CONSTEXPR_OR_CONST sprout::math::detail::bernoulli_numbers<
|
template<typename X>
|
||||||
float
|
SPROUT_CONSTEXPR_OR_CONST typename sprout::math::detail::bernoulli_numbers<
|
||||||
|
float, X
|
||||||
>::table_type sprout::math::detail::bernoulli_numbers<
|
>::table_type sprout::math::detail::bernoulli_numbers<
|
||||||
float
|
float, X
|
||||||
>::table SPROUT_STATIC_CONSTEXPR_DATA_MEMBER_OUTER(SPROUT_BERNOULLI_TABLE_DEF_FLOAT);
|
>::table SPROUT_STATIC_CONSTEXPR_DATA_MEMBER_OUTER(SPROUT_BERNOULLI_TABLE_DEF_FLOAT);
|
||||||
|
|
||||||
template<>
|
template<typename X>
|
||||||
struct bernoulli_numbers<double> {
|
struct bernoulli_numbers<double, X> {
|
||||||
public:
|
public:
|
||||||
typedef double type;
|
typedef double type;
|
||||||
public:
|
public:
|
||||||
|
@ -197,14 +198,15 @@ namespace sprout {
|
||||||
SPROUT_STATIC_CONSTEXPR_DATA_MEMBER_INNER(SPROUT_BERNOULLI_TABLE_DEF_DOUBLE)
|
SPROUT_STATIC_CONSTEXPR_DATA_MEMBER_INNER(SPROUT_BERNOULLI_TABLE_DEF_DOUBLE)
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
SPROUT_CONSTEXPR_OR_CONST sprout::math::detail::bernoulli_numbers<
|
template<typename X>
|
||||||
double
|
SPROUT_CONSTEXPR_OR_CONST typename sprout::math::detail::bernoulli_numbers<
|
||||||
|
double, X
|
||||||
>::table_type sprout::math::detail::bernoulli_numbers<
|
>::table_type sprout::math::detail::bernoulli_numbers<
|
||||||
double
|
double, X
|
||||||
>::table SPROUT_STATIC_CONSTEXPR_DATA_MEMBER_OUTER(SPROUT_BERNOULLI_TABLE_DEF_DOUBLE);
|
>::table SPROUT_STATIC_CONSTEXPR_DATA_MEMBER_OUTER(SPROUT_BERNOULLI_TABLE_DEF_DOUBLE);
|
||||||
|
|
||||||
template<>
|
template<typename X>
|
||||||
struct bernoulli_numbers<long double> {
|
struct bernoulli_numbers<long double, X> {
|
||||||
public:
|
public:
|
||||||
typedef long double type;
|
typedef long double type;
|
||||||
public:
|
public:
|
||||||
|
@ -216,10 +218,11 @@ namespace sprout {
|
||||||
SPROUT_STATIC_CONSTEXPR_DATA_MEMBER_INNER(SPROUT_BERNOULLI_TABLE_DEF_LONG_DOUBLE)
|
SPROUT_STATIC_CONSTEXPR_DATA_MEMBER_INNER(SPROUT_BERNOULLI_TABLE_DEF_LONG_DOUBLE)
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
SPROUT_CONSTEXPR_OR_CONST sprout::math::detail::bernoulli_numbers<
|
template<typename X>
|
||||||
long double
|
SPROUT_CONSTEXPR_OR_CONST typename sprout::math::detail::bernoulli_numbers<
|
||||||
|
long double, X
|
||||||
>::table_type sprout::math::detail::bernoulli_numbers<
|
>::table_type sprout::math::detail::bernoulli_numbers<
|
||||||
long double
|
long double, X
|
||||||
>::table SPROUT_STATIC_CONSTEXPR_DATA_MEMBER_OUTER(SPROUT_BERNOULLI_TABLE_DEF_LONG_DOUBLE);
|
>::table SPROUT_STATIC_CONSTEXPR_DATA_MEMBER_OUTER(SPROUT_BERNOULLI_TABLE_DEF_LONG_DOUBLE);
|
||||||
|
|
||||||
# undef SPROUT_BERNOULLI_TABLE_DEF_FLOAT
|
# undef SPROUT_BERNOULLI_TABLE_DEF_FLOAT
|
||||||
|
|
Loading…
Reference in a new issue