Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Cython / tests / compile / r_pernici1.pyx
Size: Mime:
# mode: compile

__doc__ = u"""
>>> main()
3.14159265358979323846
3.14159265358979323846
3.14159265358979323846
"""

cdef extern from "math.h":
  double M_PI

#cdef unsigned long int n1
#n1 = 4293858116

cdef double pi
pi = 3.14159265358979323846

def main():
  #print n1
  print "%.18f" % M_PI
  print "%.18f" % (<float> M_PI)
  print "%.18f" % pi