You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#include <boost/multiprecision/cpp_bin_float.hpp>
#include <boost/math/special_functions/gamma.hpp>
#include
int main() {
using namespace boost::multiprecision;
std::cout << boost::math::tgamma(cpp_bin_float_100(1000)) << std::endl;
}
produce correct output
bin/clang++ -O2 -std=c++11 -isystem include cpp_bin_float_snips.cpp
./a.out
4.02387e+2564
with pre-r248638 clang and gcc 5.1.0.
From r248638,
./a.out
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injectorstd::range_error >'
what(): No bits were set in the operand.
this is on Ubunto 14.04 64 bit, boost 1.57.
The text was updated successfully, but these errors were encountered:
Extended Description
The boost example,
#include <boost/multiprecision/cpp_bin_float.hpp>
#include <boost/math/special_functions/gamma.hpp>
#include
int main() {
using namespace boost::multiprecision;
std::cout << boost::math::tgamma(cpp_bin_float_100(1000)) << std::endl;
}
produce correct output
bin/clang++ -O2 -std=c++11 -isystem include cpp_bin_float_snips.cpp
./a.out
4.02387e+2564
with pre-r248638 clang and gcc 5.1.0.
From r248638,
./a.out
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injectorstd::range_error >'
what(): No bits were set in the operand.
this is on Ubunto 14.04 64 bit, boost 1.57.
The text was updated successfully, but these errors were encountered: