|
|
Subscribe / Log in / New account

GNU MPC 1.0 "Fagus silvatica" released

GNU MPC 1.0 "Fagus silvatica" released

Posted Jul 23, 2012 0:33 UTC (Mon) by josh (subscriber, #17465)
In reply to: GNU MPC 1.0 "Fagus silvatica" released by pr1268
Parent article: GNU MPC 1.0 "Fagus silvatica" released

I don't see any signs of complex number support in GNU MP. The GNU Scientific Library (GSL) does seem to have complex number support; I don't know how it compares to MPC. However, /usr/include/complex.h does not support arbitrary-precision complex numbers, just complex numbers consisting of two floats or doubles.


to post comments

and Pari/GP

Posted Jul 23, 2012 9:03 UTC (Mon) by rwst (guest, #84121) [Link] (1 responses)

What about libpari? Pari/GP uses GMP for arbitrary integers and floating point arithmetic. And it has its own calculator, gp, for a shell-like environment. It is heavily tested and surely suited for such a task.

and Pari/GP

Posted Jul 23, 2012 18:42 UTC (Mon) by wahern (subscriber, #37304) [Link]

Don't forget that both MPC and MPFR are required to build GCC these days, for constant expression evaluation and for loop optimization (http://gcc.gnu.org/wiki/Graphite-4.8). So, MPC and MPFR are used individually and as dependencies for other modules.

Maybe part of the reason not to use Pari/GP is because it's not organized in a fashion that makes it suitable for all of these different uses.

Also, maybe there's no reason at all. Perhaps it just ended up that one developer used MPC for something, which got used by somebody else, etc. IOW, path dependency.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds