[Top][All Lists]

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


From: Robert Fischer
Subject: mpz_set_str
Date: Wed, 4 Feb 2004 20:38:43 -0600 (CST)
User-agent: DreamHost Webmail

> [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?]

It's really useful to be able to put in strings with spaces, since the
very large numbers used as RSA keys are often stored in hex or octal
octets delineated by spaces.  I vote for "3 14" meaning "314", since it
means "a69ec314 413ce96a" gets translated into a single number, too.

~~ Robert.

reply via email to

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