[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gmp-devel
Subject:    Patch for inp_str.c to accep 0x for base 16
From:       cjohnsto () ihug ! com ! au (Craig Johnston)
Date:       2004-10-23 14:34:12
Message-ID: E1CLIaN-0000m6-00 () grunt26 ! ihug ! com ! au
[Download RAW message or body]

Hello,
This is the first time I have sent anything to this list so please be
patient. I decided to contribute to GMP so I took a look a the tasks file.
Attached are a tar file with the files I changed to implement and add
testing for the task: " Make the string reading functions allow the `0x'
prefix when the base is explicitly 16. They currently only allow that prefix
when the base is unspecified (zero).".
I am not very familiar with GMP, I have only compiled a few programs with it
so I hope that this is infact what you were looking for. It is possible I
will take a look at doing some of the other task too. If I manage to
complete some what will be the best way to send you updates for review? And
is the formatting I used correct? I tried to keep to what is in the file I
was editing.

It is a simple extention to also allow this for base 2, if you would like.

I am not yet subscribed to this list so please respond to my email address
for discussion about this item.

Craig Johnston.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inp_str.tar
Type: application/x-tar
Size: 20480 bytes
Desc: not available
Url : http://swox.com/list-archives/gmp-devel/attachments/20041023/e44300e5/inp_str-0001.tar

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic