bpo-29946: Fix "sqrtpi defined but not used" (#908)

This commit is contained in:
Louie Lu 2017-03-31 01:05:10 +08:00 committed by Serhiy Storchaka
parent 5466d4af5f
commit 7a26464c64
1 changed files with 3 additions and 1 deletions

View File

@ -71,8 +71,10 @@ module math
*/
static const double pi = 3.141592653589793238462643383279502884197;
static const double sqrtpi = 1.772453850905516027298167483341145182798;
static const double logpi = 1.144729885849400174143427351353058711647;
#if !defined(HAVE_ERF) || !defined(HAVE_ERFC)
static const double sqrtpi = 1.772453850905516027298167483341145182798;
#endif /* !defined(HAVE_ERF) || !defined(HAVE_ERFC) */
static double
sinpi(double x)