bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mpz_set_str(): definition


From: Petr Tesarik
Subject: mpz_set_str(): definition
Date: Wed, 29 Oct 2003 17:02:49 +0100
User-agent: Mutt/1.3.28i

Hello,

I'm sending my opinion on changing the definition of mpz_set_str.
(See http://www.swox.com/gmp/manual/Assigning-Integers.html if you wonder why.)

I use GMP for cryptography. I don't really care whether it accepts
white space, as I never ever feed it with such a string. However, I
think it _should_ definitely fail, because a number with white space
in it is _not_ valid. I would appreciate another function though, which
would return _where_ the first invalid character is -- just like those
standard "C" functions strtol() and friends do.

GMP is excellent, at least for me. Keep on good work!

Petr Tesarik




reply via email to

[Prev in Thread] Current Thread [Next in Thread]