Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing include <limits> #1

Merged
merged 1 commit into from
May 27, 2014
Merged

missing include <limits> #1

merged 1 commit into from
May 27, 2014

Conversation

Flast
Copy link
Contributor

@Flast Flast commented May 27, 2014

Introduced in e6996e1

compile error will occur like following.

In file included from libs/math/config/has_long_double_support.cpp:6:0:
./boost/math/tools/config.hpp:309:11: error: ‘numeric_limits’ is not a member of ‘std’
       || (std::numeric_limits<T>::is_specialized && std::numeric_limits<T>::is_integer)
           ^
./boost/math/tools/config.hpp:309:32: error: expected primary-expression before ‘>’ token
       || (std::numeric_limits<T>::is_specialized && std::numeric_limits<T>::is_integer)
                                ^
./boost/math/tools/config.hpp:309:33: error: ‘::is_specialized’ has not been declared
       || (std::numeric_limits<T>::is_specialized && std::numeric_limits<T>::is_integer)
                                 ^
./boost/math/tools/config.hpp:309:53: error: ‘numeric_limits’ is not a member of ‘std’
       || (std::numeric_limits<T>::is_specialized && std::numeric_limits<T>::is_integer)
                                                     ^
./boost/math/tools/config.hpp:309:74: error: expected primary-expression before ‘>’ token
       || (std::numeric_limits<T>::is_specialized && std::numeric_limits<T>::is_integer)
                                                                          ^
./boost/math/tools/config.hpp:309:75: error: ‘::is_integer’ has not been declared
       || (std::numeric_limits<T>::is_specialized && std::numeric_limits<T>::is_integer)

Signed-off-by: Kohei Takahashi <[email protected]>
jzmaddock added a commit that referenced this pull request May 27, 2014
@jzmaddock jzmaddock merged commit 0896652 into boostorg:develop May 27, 2014
@Flast Flast deleted the pr/missing_header branch May 27, 2014 07:54
jzmaddock pushed a commit that referenced this pull request Oct 18, 2014
change log(2) to constants::ln_two<T>()
jzmaddock added a commit that referenced this pull request Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants