/*1bern_rat.h: multi-modular algorithm for computing Bernoulli numbers23Copyright (C) 2008, 2009, David Harvey45This file is part of the bernmm package (version 1.1).67bernmm is released under a BSD-style license. See the README file in8the source distribution for details.9*/1011#ifndef BERNMM_BERN_RAT_H12#define BERNMM_BERN_RAT_H1314#include <gmp.h>151617namespace bernmm {181920/*21Returns B_k as a rational number, stored at _res_.2223k must be >= 0.2425Uses _num_threads_ threads. (If USE_THREADS is not #defined, the code just26uses one thread.)27*/28void bern_rat(mpq_t res, long k, int num_threads);29303132}; // end namespace333435#endif3637// end of file ================================================================383940