Submission of code

Rikard Nordgren rikard_nordgren at hotmail.com
Mon May 31 19:47:46 CEST 2004


Hi,

I hereby submit some code that I made this winter. The scan_reverse 
functions use a simple algorithm and are probably not optimum. I think they 
work fairly well for short run-lenghts however. The test for these are 
implemented from the existing test for the scan functions. I also submit 
some init_set functions for rational numbers. I think that perhaps these 
should be included for completeness.

Best regards,
Rikard Nordgren
Master of Science in Electrical Engineering

_________________________________________________________________
Auktioner: Tjäna en hacka på gamla prylar http://tradera.msn.se
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpz_scan0_reverse.c
Type: application/octet-stream
Size: 2392 bytes
Desc: not available
Url : /list-archives/gmp-devel/attachments/20040531/472f5899/mpz_scan0_reverse.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpz_scan1_reverse.c
Type: application/octet-stream
Size: 2291 bytes
Desc: not available
Url : /list-archives/gmp-devel/attachments/20040531/472f5899/mpz_scan1_reverse.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpz_t-scan_reverse.c
Type: application/octet-stream
Size: 3086 bytes
Desc: not available
Url : /list-archives/gmp-devel/attachments/20040531/472f5899/mpz_t-scan_reverse.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpq_init_set.c
Type: application/octet-stream
Size: 1641 bytes
Desc: not available
Url : /list-archives/gmp-devel/attachments/20040531/472f5899/mpq_init_set.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpq_init_set_si.c
Type: application/octet-stream
Size: 1548 bytes
Desc: not available
Url : /list-archives/gmp-devel/attachments/20040531/472f5899/mpq_init_set_si.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpq_init_set_str.c
Type: application/octet-stream
Size: 1409 bytes
Desc: not available
Url : /list-archives/gmp-devel/attachments/20040531/472f5899/mpq_init_set_str.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpq_init_set_ui.c
Type: application/octet-stream
Size: 1530 bytes
Desc: not available
Url : /list-archives/gmp-devel/attachments/20040531/472f5899/mpq_init_set_ui.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpq_init_set_z.c
Type: application/octet-stream
Size: 1544 bytes
Desc: not available
Url : /list-archives/gmp-devel/attachments/20040531/472f5899/mpq_init_set_z.obj


More information about the gmp-devel mailing list