$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [boost::math]binomial_coefficient compile error
From: John Maddock (boost.regex_at_[hidden])
Date: 2010-10-07 03:30:12
>what is that I am missing?
An evaluation type - the function is a template that returns a real-value,
*not* an integer (that's too prone to error and overflow), so for example:
boost::math::binomial_coefficient<double>(10, 1)
would do the trick and return the result as a double.
HTH, John.