Git Product home page Git Product logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
[deleted comment]

from gmpy.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
The most current documentation is available by using "help(gmpy)" from the 
Python command line.

Note: if you installed gmpy2, you should use "import gmpy2" and "help(gmpy2)".

gmpy2 uses a different name since it is not 100% backwards compatible. For most 
common uses "import gmpy2 as gmpy" will work. 

For integers, a few methods were renamed (primarily bit operations are now name 
bit_XXX instead of XXX; for example .scan1() is now .bit_scan1()). Some new 
features were also introduced - the bits of an integer can be accessed via 
slicing and a mutable integer type that support faster in-place operations.

For floating point numbers, there are significant changes - MPFR is used 
instead of the floating point type from GMP. MPFR provides better rounding and 
a whole set of transcendental functions. There will be more API changes when I 
release Alpha2, hopefully in the near future.

Let me know if you have any specific questions. In the mean time, I'll at least 
try to get some documentation on the Wiki.

Original comment by casevh on 5 Apr 2011 at 2:14

  • Changed state: Accepted
  • Added labels: Type-Enhancement, Priority-Low
  • Removed labels: Type-Defect, Priority-Medium

from gmpy.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 6, 2024
I've been adding documentation to the wiki pages. I'll update them for new 
releases.

Original comment by casevh on 17 Jul 2011 at 6:23

  • Changed state: Done

from gmpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.