andyvand / gmpy

Automatically exported from code.google.com/p/gmpy
GNU Lesser General Public License v3.0
0 stars 0 forks source link

readme #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Where is the readme or manual ??

Original issue reported on code.google.com by hij...@gmail.com on 5 Apr 2011 at 12:33

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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