mpf_set_str(), My opinon about blanks in str

marco.bodrato at tutanota.com marco.bodrato at tutanota.com
Mon Jun 15 18:46:54 CEST 2026


Ciao Davood Alizadeh Sanati,

12 giu 2026, 09:54 da d.alizadeh.sanati at gmail.com:

> my opinion about accepting white spaces in strings for
> mpf_set_str(). I'd rather an str to be blank-free; blanks are just
> superfluous there, in my view.
>

Thank you for your opinion!


> My purpose of using GMP: I'm performing some precise quantum chemical
> calculations on small atoms and molecules, such as the helium atom and
> hydrogen molecular ion.
>

On the manual we also wrote
"New projects should consider using the GMP extension library MPFR instead.
MPFR provides well-defined precision and accurate rounding,
and thereby naturally extends IEEE 754-2019."


> I'm an independent researcher from Mashhad, Iran, who did
> his PhD in theoretical chemistry in Berlin.
>

Of course we are happy if you use GMP for your interesting projects.

Ĝis,m


More information about the gmp-bugs mailing list