I've been looking through GSL and Boost libraries to find the dilogarithm function, but I have not found it.
Is there an implementation available for C++/C of this function?
GSL seems to have it: https://www.gnu.org/software/gsl/manual/html_node/Dilogarithm.html
gsl_sf_dilog.h
double gsl_sf_dilog (double x)
int gsl_sf_dilog_e (double x, gsl_sf_result * result)
int gsl_sf_complex_dilog_e (double r, double theta, gsl_sf_result * result_re, gsl_sf_result * result_im)