Kaydet (Commit) 7a26464c authored tarafından Louie Lu's avatar Louie Lu Kaydeden (comit) Serhiy Storchaka

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

üst 5466d4af
...@@ -71,8 +71,10 @@ module math ...@@ -71,8 +71,10 @@ module math
*/ */
static const double pi = 3.141592653589793238462643383279502884197; static const double pi = 3.141592653589793238462643383279502884197;
static const double sqrtpi = 1.772453850905516027298167483341145182798;
static const double logpi = 1.144729885849400174143427351353058711647; 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 static double
sinpi(double x) sinpi(double x)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment