bug-gmp
[Top][All Lists]
Advanced

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

mpz_set_str


From: Alan Gregory
Subject: mpz_set_str
Date: Tue, 1 Sep 2009 15:57:53 +0200

[It turns out that it is not entirely true that this function ignores
white-space. It does ignore it between digits, but not after a minus
sign or within or after "0x". We are considering changing the
definition of this function, making it fail when there is any
white-space in the input, since that makes a lot of sense. Send your
opinion of this change to address@hidden Do you really want it to
accept "3 14" as meaning 314 as it does now?]

EWWW!!

I find it perfectly acceptable that this function should fail if it
detects a whitespace in its input.

Howbout allowing for base 256?

I'm just learning gmp now, using it for cryptographic dabblings. Seems
very promising!

--
Alan




reply via email to

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