Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 188998 Details for
Bug 266897
gcc 4.3.2-r3 fails with internel error using -march=amdfam10
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Preprocessed file that fails compiling
rootrem.i (text/plain), 81.86 KB, created by
Gert Wollny
on 2009-04-20 21:25:10 UTC
(
hide
)
Description:
Preprocessed file that fails compiling
Filename:
MIME Type:
Creator:
Gert Wollny
Created:
2009-04-20 21:25:10 UTC
Size:
81.86 KB
patch
obsolete
># 1 "rootrem.c" ># 1 "/var/tmp/portage/dev-libs/gmp-4.2.4/work/gmp-4.2.4/mpn//" ># 1 "<eingebaut>" ># 1 "<Kommandozeile>" ># 1 "rootrem.c" ># 46 "rootrem.c" ># 1 "/usr/include/stdio.h" 1 3 4 ># 28 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/features.h" 1 3 4 ># 330 "/usr/include/features.h" 3 4 ># 1 "/usr/include/sys/cdefs.h" 1 3 4 ># 348 "/usr/include/sys/cdefs.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 349 "/usr/include/sys/cdefs.h" 2 3 4 ># 331 "/usr/include/features.h" 2 3 4 ># 354 "/usr/include/features.h" 3 4 ># 1 "/usr/include/gnu/stubs.h" 1 3 4 > > > ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 5 "/usr/include/gnu/stubs.h" 2 3 4 > > ># 1 "/usr/include/gnu/stubs-32.h" 1 3 4 ># 8 "/usr/include/gnu/stubs.h" 2 3 4 ># 355 "/usr/include/features.h" 2 3 4 ># 29 "/usr/include/stdio.h" 2 3 4 > > > > > ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/stddef.h" 1 3 4 ># 214 "/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/stddef.h" 3 4 >typedef unsigned int size_t; ># 35 "/usr/include/stdio.h" 2 3 4 > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 28 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/usr/include/bits/types.h" 2 3 4 > > >typedef unsigned char __u_char; >typedef unsigned short int __u_short; >typedef unsigned int __u_int; >typedef unsigned long int __u_long; > > >typedef signed char __int8_t; >typedef unsigned char __uint8_t; >typedef signed short int __int16_t; >typedef unsigned short int __uint16_t; >typedef signed int __int32_t; >typedef unsigned int __uint32_t; > > > > >__extension__ typedef signed long long int __int64_t; >__extension__ typedef unsigned long long int __uint64_t; > > > > > > > >__extension__ typedef long long int __quad_t; >__extension__ typedef unsigned long long int __u_quad_t; ># 131 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/typesizes.h" 1 3 4 ># 132 "/usr/include/bits/types.h" 2 3 4 > > >__extension__ typedef __u_quad_t __dev_t; >__extension__ typedef unsigned int __uid_t; >__extension__ typedef unsigned int __gid_t; >__extension__ typedef unsigned long int __ino_t; >__extension__ typedef __u_quad_t __ino64_t; >__extension__ typedef unsigned int __mode_t; >__extension__ typedef unsigned int __nlink_t; >__extension__ typedef long int __off_t; >__extension__ typedef __quad_t __off64_t; >__extension__ typedef int __pid_t; >__extension__ typedef struct { int __val[2]; } __fsid_t; >__extension__ typedef long int __clock_t; >__extension__ typedef unsigned long int __rlim_t; >__extension__ typedef __u_quad_t __rlim64_t; >__extension__ typedef unsigned int __id_t; >__extension__ typedef long int __time_t; >__extension__ typedef unsigned int __useconds_t; >__extension__ typedef long int __suseconds_t; > >__extension__ typedef int __daddr_t; >__extension__ typedef long int __swblk_t; >__extension__ typedef int __key_t; > > >__extension__ typedef int __clockid_t; > > >__extension__ typedef void * __timer_t; > > >__extension__ typedef long int __blksize_t; > > > > >__extension__ typedef long int __blkcnt_t; >__extension__ typedef __quad_t __blkcnt64_t; > > >__extension__ typedef unsigned long int __fsblkcnt_t; >__extension__ typedef __u_quad_t __fsblkcnt64_t; > > >__extension__ typedef unsigned long int __fsfilcnt_t; >__extension__ typedef __u_quad_t __fsfilcnt64_t; > >__extension__ typedef int __ssize_t; > > > >typedef __off64_t __loff_t; >typedef __quad_t *__qaddr_t; >typedef char *__caddr_t; > > >__extension__ typedef int __intptr_t; > > >__extension__ typedef unsigned int __socklen_t; ># 37 "/usr/include/stdio.h" 2 3 4 ># 45 "/usr/include/stdio.h" 3 4 >struct _IO_FILE; > > > >typedef struct _IO_FILE FILE; > > > > > ># 65 "/usr/include/stdio.h" 3 4 >typedef struct _IO_FILE __FILE; ># 75 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/libio.h" 1 3 4 ># 32 "/usr/include/libio.h" 3 4 ># 1 "/usr/include/_G_config.h" 1 3 4 ># 15 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/stddef.h" 1 3 4 ># 16 "/usr/include/_G_config.h" 2 3 4 > > > > ># 1 "/usr/include/wchar.h" 1 3 4 ># 78 "/usr/include/wchar.h" 3 4 >typedef struct >{ > int __count; > union > { > > unsigned int __wch; > > > > char __wchb[4]; > } __value; >} __mbstate_t; ># 21 "/usr/include/_G_config.h" 2 3 4 > >typedef struct >{ > __off_t __pos; > __mbstate_t __state; >} _G_fpos_t; >typedef struct >{ > __off64_t __pos; > __mbstate_t __state; >} _G_fpos64_t; ># 53 "/usr/include/_G_config.h" 3 4 >typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); >typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); ># 33 "/usr/include/libio.h" 2 3 4 ># 53 "/usr/include/libio.h" 3 4 ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/stdarg.h" 1 3 4 ># 43 "/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/stdarg.h" 3 4 >typedef __builtin_va_list __gnuc_va_list; ># 54 "/usr/include/libio.h" 2 3 4 ># 170 "/usr/include/libio.h" 3 4 >struct _IO_jump_t; struct _IO_FILE; ># 180 "/usr/include/libio.h" 3 4 >typedef void _IO_lock_t; > > > > > >struct _IO_marker { > struct _IO_marker *_next; > struct _IO_FILE *_sbuf; > > > > int _pos; ># 203 "/usr/include/libio.h" 3 4 >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; ># 271 "/usr/include/libio.h" 3 4 >struct _IO_FILE { > int _flags; > > > > > char* _IO_read_ptr; > char* _IO_read_end; > char* _IO_read_base; > char* _IO_write_base; > char* _IO_write_ptr; > char* _IO_write_end; > char* _IO_buf_base; > char* _IO_buf_end; > > char *_IO_save_base; > char *_IO_backup_base; > char *_IO_save_end; > > struct _IO_marker *_markers; > > struct _IO_FILE *_chain; > > int _fileno; > > > > int _flags2; > > __off_t _old_offset; > > > > unsigned short _cur_column; > signed char _vtable_offset; > char _shortbuf[1]; > > > > _IO_lock_t *_lock; ># 319 "/usr/include/libio.h" 3 4 > __off64_t _offset; ># 328 "/usr/include/libio.h" 3 4 > void *__pad1; > void *__pad2; > void *__pad3; > void *__pad4; > size_t __pad5; > > int _mode; > > char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; > >}; > > >typedef struct _IO_FILE _IO_FILE; > > >struct _IO_FILE_plus; > >extern struct _IO_FILE_plus _IO_2_1_stdin_; >extern struct _IO_FILE_plus _IO_2_1_stdout_; >extern struct _IO_FILE_plus _IO_2_1_stderr_; ># 364 "/usr/include/libio.h" 3 4 >typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); > > > > > > > >typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, > size_t __n); > > > > > > > >typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); > > >typedef int __io_close_fn (void *__cookie); ># 416 "/usr/include/libio.h" 3 4 >extern int __underflow (_IO_FILE *); >extern int __uflow (_IO_FILE *); >extern int __overflow (_IO_FILE *, int); ># 458 "/usr/include/libio.h" 3 4 >extern int _IO_getc (_IO_FILE *__fp); >extern int _IO_putc (int __c, _IO_FILE *__fp); >extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__)); >extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__)); > >extern int _IO_peekc_locked (_IO_FILE *__fp); > > > > > >extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__)); >extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__)); >extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__)); ># 488 "/usr/include/libio.h" 3 4 >extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, > __gnuc_va_list, int *__restrict); >extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, > __gnuc_va_list); >extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); >extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); > >extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); >extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); > >extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__)); ># 76 "/usr/include/stdio.h" 2 3 4 ># 89 "/usr/include/stdio.h" 3 4 > > >typedef _G_fpos_t fpos_t; > > > > ># 141 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 142 "/usr/include/stdio.h" 2 3 4 > > > >extern struct _IO_FILE *stdin; >extern struct _IO_FILE *stdout; >extern struct _IO_FILE *stderr; > > > > > > > >extern int remove (__const char *__filename) __attribute__ ((__nothrow__)); > >extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__)); > > > > > > > > > > > > > > >extern FILE *tmpfile (void) ; ># 186 "/usr/include/stdio.h" 3 4 >extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) ; > > > > > >extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)) ; ># 204 "/usr/include/stdio.h" 3 4 >extern char *tempnam (__const char *__dir, __const char *__pfx) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; > > > > > > > > >extern int fclose (FILE *__stream); > > > > >extern int fflush (FILE *__stream); > ># 229 "/usr/include/stdio.h" 3 4 >extern int fflush_unlocked (FILE *__stream); ># 243 "/usr/include/stdio.h" 3 4 > > > > > > >extern FILE *fopen (__const char *__restrict __filename, > __const char *__restrict __modes) ; > > > > >extern FILE *freopen (__const char *__restrict __filename, > __const char *__restrict __modes, > FILE *__restrict __stream) ; ># 272 "/usr/include/stdio.h" 3 4 > ># 283 "/usr/include/stdio.h" 3 4 >extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) ; ># 304 "/usr/include/stdio.h" 3 4 > > > >extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__)); > > > >extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, > int __modes, size_t __n) __attribute__ ((__nothrow__)); > > > > > >extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, > size_t __size) __attribute__ ((__nothrow__)); > > >extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__)); > > > > > > > > >extern int fprintf (FILE *__restrict __stream, > __const char *__restrict __format, ...); > > > > >extern int printf (__const char *__restrict __format, ...); > >extern int sprintf (char *__restrict __s, > __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); > > > > > >extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg); > > > > >extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg); > >extern int vsprintf (char *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) __attribute__ ((__nothrow__)); > > > > > >extern int snprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, ...) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); > >extern int vsnprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); > ># 398 "/usr/include/stdio.h" 3 4 > > > > > >extern int fscanf (FILE *__restrict __stream, > __const char *__restrict __format, ...) ; > > > > >extern int scanf (__const char *__restrict __format, ...) ; > >extern int sscanf (__const char *__restrict __s, > __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); ># 441 "/usr/include/stdio.h" 3 4 > ># 504 "/usr/include/stdio.h" 3 4 > > > > > >extern int fgetc (FILE *__stream); >extern int getc (FILE *__stream); > > > > > >extern int getchar (void); > ># 528 "/usr/include/stdio.h" 3 4 >extern int getc_unlocked (FILE *__stream); >extern int getchar_unlocked (void); ># 539 "/usr/include/stdio.h" 3 4 >extern int fgetc_unlocked (FILE *__stream); > > > > > > > > > > > >extern int fputc (int __c, FILE *__stream); >extern int putc (int __c, FILE *__stream); > > > > > >extern int putchar (int __c); > ># 572 "/usr/include/stdio.h" 3 4 >extern int fputc_unlocked (int __c, FILE *__stream); > > > > > > > >extern int putc_unlocked (int __c, FILE *__stream); >extern int putchar_unlocked (int __c); > > > > > > >extern int getw (FILE *__stream); > > >extern int putw (int __w, FILE *__stream); > > > > > > > > >extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) > ; > > > > > > >extern char *gets (char *__s) ; > ># 653 "/usr/include/stdio.h" 3 4 > > > > > >extern int fputs (__const char *__restrict __s, FILE *__restrict __stream); > > > > > >extern int puts (__const char *__s); > > > > > > >extern int ungetc (int __c, FILE *__stream); > > > > > > >extern size_t fread (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) ; > > > > >extern size_t fwrite (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __s) ; > ># 706 "/usr/include/stdio.h" 3 4 >extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) ; >extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream) ; > > > > > > > > >extern int fseek (FILE *__stream, long int __off, int __whence); > > > > >extern long int ftell (FILE *__stream) ; > > > > >extern void rewind (FILE *__stream); > ># 742 "/usr/include/stdio.h" 3 4 >extern int fseeko (FILE *__stream, __off_t __off, int __whence); > > > > >extern __off_t ftello (FILE *__stream) ; ># 761 "/usr/include/stdio.h" 3 4 > > > > > > >extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); > > > > >extern int fsetpos (FILE *__stream, __const fpos_t *__pos); ># 784 "/usr/include/stdio.h" 3 4 > ># 793 "/usr/include/stdio.h" 3 4 > > >extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__)); > >extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) ; > >extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) ; > > > > >extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__)); >extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ; >extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ; > > > > > > > > >extern void perror (__const char *__s); > > > > > > ># 1 "/usr/include/bits/sys_errlist.h" 1 3 4 ># 27 "/usr/include/bits/sys_errlist.h" 3 4 >extern int sys_nerr; >extern __const char *__const sys_errlist[]; ># 823 "/usr/include/stdio.h" 2 3 4 > > > > >extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) ; > > > > >extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ; ># 842 "/usr/include/stdio.h" 3 4 >extern FILE *popen (__const char *__command, __const char *__modes) ; > > > > > >extern int pclose (FILE *__stream); > > > > > >extern char *ctermid (char *__s) __attribute__ ((__nothrow__)); ># 882 "/usr/include/stdio.h" 3 4 >extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__)); > > > >extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) ; > > >extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__)); ># 903 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio.h" 1 3 4 ># 36 "/usr/include/bits/stdio.h" 3 4 >extern __inline int >vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg) >{ > return vfprintf (stdout, __fmt, __arg); >} > > > >extern __inline int >getchar (void) >{ > return _IO_getc (stdin); >} > > > > >extern __inline int >fgetc_unlocked (FILE *__fp) >{ > return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > > > > >extern __inline int >getc_unlocked (FILE *__fp) >{ > return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); >} > > >extern __inline int >getchar_unlocked (void) >{ > return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); >} > > > > >extern __inline int >putchar (int __c) >{ > return _IO_putc (__c, stdout); >} > > > > >extern __inline int >fputc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > > > > >extern __inline int >putc_unlocked (int __c, FILE *__stream) >{ > return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); >} > > >extern __inline int >putchar_unlocked (int __c) >{ > return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); >} ># 125 "/usr/include/bits/stdio.h" 3 4 >extern __inline int >__attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x10) != 0); >} > > >extern __inline int >__attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream) >{ > return (((__stream)->_flags & 0x20) != 0); >} ># 904 "/usr/include/stdio.h" 2 3 4 ># 912 "/usr/include/stdio.h" 3 4 > ># 47 "rootrem.c" 2 ># 1 "/usr/include/stdlib.h" 1 3 4 ># 33 "/usr/include/stdlib.h" 3 4 ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/stddef.h" 1 3 4 ># 326 "/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/stddef.h" 3 4 >typedef long int wchar_t; ># 34 "/usr/include/stdlib.h" 2 3 4 > > ># 96 "/usr/include/stdlib.h" 3 4 > > >typedef struct > { > int quot; > int rem; > } div_t; > > > >typedef struct > { > long int quot; > long int rem; > } ldiv_t; > > > ># 140 "/usr/include/stdlib.h" 3 4 >extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) ; > > > > >extern double atof (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > >extern int atoi (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > >extern long int atol (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > > > > > >__extension__ extern long long int atoll (__const char *__nptr) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > > > > > >extern double strtod (__const char *__restrict __nptr, > char **__restrict __endptr) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > ># 182 "/usr/include/stdlib.h" 3 4 > > >extern long int strtol (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > >extern unsigned long int strtoul (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > > > > >__extension__ >extern long long int strtoq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > >__extension__ >extern unsigned long long int strtouq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > > > > > >__extension__ >extern long long int strtoll (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > >__extension__ >extern unsigned long long int strtoull (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > ># 277 "/usr/include/stdlib.h" 3 4 > >extern __inline double >__attribute__ ((__nothrow__)) atof (__const char *__nptr) >{ > return strtod (__nptr, (char **) ((void *)0)); >} >extern __inline int >__attribute__ ((__nothrow__)) atoi (__const char *__nptr) >{ > return (int) strtol (__nptr, (char **) ((void *)0), 10); >} >extern __inline long int >__attribute__ ((__nothrow__)) atol (__const char *__nptr) >{ > return strtol (__nptr, (char **) ((void *)0), 10); >} > > > > >__extension__ extern __inline long long int >__attribute__ ((__nothrow__)) atoll (__const char *__nptr) >{ > return strtoll (__nptr, (char **) ((void *)0), 10); >} > ># 311 "/usr/include/stdlib.h" 3 4 >extern char *l64a (long int __n) __attribute__ ((__nothrow__)) ; > > >extern long int a64l (__const char *__s) > __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; > > > > ># 1 "/usr/include/sys/types.h" 1 3 4 ># 29 "/usr/include/sys/types.h" 3 4 > > > > > > >typedef __u_char u_char; >typedef __u_short u_short; >typedef __u_int u_int; >typedef __u_long u_long; >typedef __quad_t quad_t; >typedef __u_quad_t u_quad_t; >typedef __fsid_t fsid_t; > > > > >typedef __loff_t loff_t; > > > >typedef __ino_t ino_t; ># 62 "/usr/include/sys/types.h" 3 4 >typedef __dev_t dev_t; > > > > >typedef __gid_t gid_t; > > > > >typedef __mode_t mode_t; > > > > >typedef __nlink_t nlink_t; > > > > >typedef __uid_t uid_t; > > > > > >typedef __off_t off_t; ># 100 "/usr/include/sys/types.h" 3 4 >typedef __pid_t pid_t; > > > > >typedef __id_t id_t; > > > > >typedef __ssize_t ssize_t; > > > > > >typedef __daddr_t daddr_t; >typedef __caddr_t caddr_t; > > > > > >typedef __key_t key_t; ># 133 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/time.h" 1 3 4 ># 75 "/usr/include/time.h" 3 4 > > >typedef __time_t time_t; > > > ># 93 "/usr/include/time.h" 3 4 >typedef __clockid_t clockid_t; ># 105 "/usr/include/time.h" 3 4 >typedef __timer_t timer_t; ># 134 "/usr/include/sys/types.h" 2 3 4 ># 147 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/stddef.h" 1 3 4 ># 148 "/usr/include/sys/types.h" 2 3 4 > > > >typedef unsigned long int ulong; >typedef unsigned short int ushort; >typedef unsigned int uint; ># 195 "/usr/include/sys/types.h" 3 4 >typedef int int8_t __attribute__ ((__mode__ (__QI__))); >typedef int int16_t __attribute__ ((__mode__ (__HI__))); >typedef int int32_t __attribute__ ((__mode__ (__SI__))); >typedef int int64_t __attribute__ ((__mode__ (__DI__))); > > >typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); >typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); > >typedef int register_t __attribute__ ((__mode__ (__word__))); ># 217 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/endian.h" 1 3 4 ># 37 "/usr/include/endian.h" 3 4 ># 1 "/usr/include/bits/endian.h" 1 3 4 ># 38 "/usr/include/endian.h" 2 3 4 ># 218 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/select.h" 1 3 4 ># 31 "/usr/include/sys/select.h" 3 4 ># 1 "/usr/include/bits/select.h" 1 3 4 ># 32 "/usr/include/sys/select.h" 2 3 4 > > ># 1 "/usr/include/bits/sigset.h" 1 3 4 ># 24 "/usr/include/bits/sigset.h" 3 4 >typedef int __sig_atomic_t; > > > > >typedef struct > { > unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; > } __sigset_t; ># 35 "/usr/include/sys/select.h" 2 3 4 > > > >typedef __sigset_t sigset_t; > > > > > ># 1 "/usr/include/time.h" 1 3 4 ># 121 "/usr/include/time.h" 3 4 >struct timespec > { > __time_t tv_sec; > long int tv_nsec; > }; ># 45 "/usr/include/sys/select.h" 2 3 4 > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 69 "/usr/include/bits/time.h" 3 4 >struct timeval > { > __time_t tv_sec; > __suseconds_t tv_usec; > }; ># 47 "/usr/include/sys/select.h" 2 3 4 > > >typedef __suseconds_t suseconds_t; > > > > > >typedef long int __fd_mask; ># 67 "/usr/include/sys/select.h" 3 4 >typedef struct > { > > > > > > > __fd_mask __fds_bits[1024 / (8 * sizeof (__fd_mask))]; > > > } fd_set; > > > > > > >typedef __fd_mask fd_mask; ># 99 "/usr/include/sys/select.h" 3 4 > ># 109 "/usr/include/sys/select.h" 3 4 >extern int select (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > struct timeval *__restrict __timeout); ># 121 "/usr/include/sys/select.h" 3 4 >extern int pselect (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > const struct timespec *__restrict __timeout, > const __sigset_t *__restrict __sigmask); > > > ># 221 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/sysmacros.h" 1 3 4 ># 30 "/usr/include/sys/sysmacros.h" 3 4 >__extension__ >extern unsigned int gnu_dev_major (unsigned long long int __dev) > __attribute__ ((__nothrow__)); >__extension__ >extern unsigned int gnu_dev_minor (unsigned long long int __dev) > __attribute__ ((__nothrow__)); >__extension__ >extern unsigned long long int gnu_dev_makedev (unsigned int __major, > unsigned int __minor) > __attribute__ ((__nothrow__)); > > >__extension__ extern __inline unsigned int >__attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev) >{ > return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); >} > >__extension__ extern __inline unsigned int >__attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev) >{ > return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); >} > >__extension__ extern __inline unsigned long long int >__attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor) >{ > return ((__minor & 0xff) | ((__major & 0xfff) << 8) > | (((unsigned long long int) (__minor & ~0xff)) << 12) > | (((unsigned long long int) (__major & ~0xfff)) << 32)); >} ># 224 "/usr/include/sys/types.h" 2 3 4 ># 235 "/usr/include/sys/types.h" 3 4 >typedef __blkcnt_t blkcnt_t; > > > >typedef __fsblkcnt_t fsblkcnt_t; > > > >typedef __fsfilcnt_t fsfilcnt_t; ># 270 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 ># 36 "/usr/include/bits/pthreadtypes.h" 3 4 >typedef unsigned long int pthread_t; > > >typedef union >{ > char __size[36]; > long int __align; >} pthread_attr_t; > > >typedef struct __pthread_internal_slist >{ > struct __pthread_internal_slist *__next; >} __pthread_slist_t; > > > > >typedef union >{ > struct __pthread_mutex_s > { > int __lock; > unsigned int __count; > int __owner; > > > int __kind; > unsigned int __nusers; > __extension__ union > { > int __spins; > __pthread_slist_t __list; > }; > } __data; > char __size[24]; > long int __align; >} pthread_mutex_t; > >typedef union >{ > char __size[4]; > long int __align; >} pthread_mutexattr_t; > > > > >typedef union >{ > struct > { > int __lock; > unsigned int __futex; > __extension__ unsigned long long int __total_seq; > __extension__ unsigned long long int __wakeup_seq; > __extension__ unsigned long long int __woken_seq; > void *__mutex; > unsigned int __nwaiters; > unsigned int __broadcast_seq; > } __data; > char __size[48]; > __extension__ long long int __align; >} pthread_cond_t; > >typedef union >{ > char __size[4]; > long int __align; >} pthread_condattr_t; > > > >typedef unsigned int pthread_key_t; > > > >typedef int pthread_once_t; > > > > > >typedef union >{ > struct > { > int __lock; > unsigned int __nr_readers; > unsigned int __readers_wakeup; > unsigned int __writer_wakeup; > unsigned int __nr_readers_queued; > unsigned int __nr_writers_queued; > > > unsigned char __flags; > unsigned char __shared; > unsigned char __pad1; > unsigned char __pad2; > int __writer; > } __data; > char __size[32]; > long int __align; >} pthread_rwlock_t; > >typedef union >{ > char __size[8]; > long int __align; >} pthread_rwlockattr_t; > > > > > >typedef volatile int pthread_spinlock_t; > > > > >typedef union >{ > char __size[20]; > long int __align; >} pthread_barrier_t; > >typedef union >{ > char __size[4]; > int __align; >} pthread_barrierattr_t; ># 271 "/usr/include/sys/types.h" 2 3 4 > > > ># 321 "/usr/include/stdlib.h" 2 3 4 > > > > > > >extern long int random (void) __attribute__ ((__nothrow__)); > > >extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__)); > > > > > >extern char *initstate (unsigned int __seed, char *__statebuf, > size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > > >extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > > >struct random_data > { > int32_t *fptr; > int32_t *rptr; > int32_t *state; > int rand_type; > int rand_deg; > int rand_sep; > int32_t *end_ptr; > }; > >extern int random_r (struct random_data *__restrict __buf, > int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int srandom_r (unsigned int __seed, struct random_data *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > >extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, > size_t __statelen, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))); > >extern int setstate_r (char *__restrict __statebuf, > struct random_data *__restrict __buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern int rand (void) __attribute__ ((__nothrow__)); > >extern void srand (unsigned int __seed) __attribute__ ((__nothrow__)); > > > > >extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__)); > > > > > > > >extern double drand48 (void) __attribute__ ((__nothrow__)); >extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern long int lrand48 (void) __attribute__ ((__nothrow__)); >extern long int nrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern long int mrand48 (void) __attribute__ ((__nothrow__)); >extern long int jrand48 (unsigned short int __xsubi[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > >extern void srand48 (long int __seedval) __attribute__ ((__nothrow__)); >extern unsigned short int *seed48 (unsigned short int __seed16v[3]) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); >extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >struct drand48_data > { > unsigned short int __x[3]; > unsigned short int __old_x[3]; > unsigned short int __c; > unsigned short int __init; > unsigned long long int __a; > }; > > >extern int drand48_r (struct drand48_data *__restrict __buffer, > double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int erand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int lrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int nrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int mrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); >extern int jrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int srand48_r (long int __seedval, struct drand48_data *__buffer) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > >extern int seed48_r (unsigned short int __seed16v[3], > struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int lcong48_r (unsigned short int __param[7], > struct drand48_data *__buffer) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > > > > >extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; > >extern void *calloc (size_t __nmemb, size_t __size) > __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; > > > > > > > > > > >extern void *realloc (void *__ptr, size_t __size) > __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__)); > >extern void free (void *__ptr) __attribute__ ((__nothrow__)); > > > > >extern void cfree (void *__ptr) __attribute__ ((__nothrow__)); > > > ># 1 "/usr/include/alloca.h" 1 3 4 ># 25 "/usr/include/alloca.h" 3 4 ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/stddef.h" 1 3 4 ># 26 "/usr/include/alloca.h" 2 3 4 > > > > > > > >extern void *alloca (size_t __size) __attribute__ ((__nothrow__)); > > > > > > ># 498 "/usr/include/stdlib.h" 2 3 4 > > > > >extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ; > > > > >extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > > > > >extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > > > >extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); > ># 543 "/usr/include/stdlib.h" 3 4 > > >extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > > > > >extern char *__secure_getenv (__const char *__name) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > > > > > >extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern int setenv (__const char *__name, __const char *__value, int __replace) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))); > > >extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__)); > > > > > > >extern int clearenv (void) __attribute__ ((__nothrow__)); ># 583 "/usr/include/stdlib.h" 3 4 >extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; ># 594 "/usr/include/stdlib.h" 3 4 >extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ; ># 614 "/usr/include/stdlib.h" 3 4 >extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; ># 640 "/usr/include/stdlib.h" 3 4 > > > > > >extern int system (__const char *__command) ; > ># 662 "/usr/include/stdlib.h" 3 4 >extern char *realpath (__const char *__restrict __name, > char *__restrict __resolved) __attribute__ ((__nothrow__)) ; > > > > > > >typedef int (*__compar_fn_t) (__const void *, __const void *); ># 680 "/usr/include/stdlib.h" 3 4 > > > >extern void *bsearch (__const void *__key, __const void *__base, > size_t __nmemb, size_t __size, __compar_fn_t __compar) > __attribute__ ((__nonnull__ (1, 2, 5))) ; > > > >extern void qsort (void *__base, size_t __nmemb, size_t __size, > __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); ># 699 "/usr/include/stdlib.h" 3 4 >extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; >extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; > > > > > > > > > > > > >extern div_t div (int __numer, int __denom) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; >extern ldiv_t ldiv (long int __numer, long int __denom) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ; > ># 735 "/usr/include/stdlib.h" 3 4 >extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; > > > > >extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; > > > > >extern char *gcvt (double __value, int __ndigit, char *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ; > > > > >extern char *qecvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; >extern char *qfcvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ; >extern char *qgcvt (long double __value, int __ndigit, char *__buf) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ; > > > > >extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); >extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); > >extern int qecvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); >extern int qfcvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5))); > > > > > > > >extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) ; > > >extern int mbtowc (wchar_t *__restrict __pwc, > __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) ; > > >extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) ; > > > >extern size_t mbstowcs (wchar_t *__restrict __pwcs, > __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)); > >extern size_t wcstombs (char *__restrict __s, > __const wchar_t *__restrict __pwcs, size_t __n) > __attribute__ ((__nothrow__)); > > > > > > > > >extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; ># 840 "/usr/include/stdlib.h" 3 4 >extern int posix_openpt (int __oflag) ; ># 875 "/usr/include/stdlib.h" 3 4 >extern int getloadavg (double __loadavg[], int __nelem) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); ># 891 "/usr/include/stdlib.h" 3 4 > ># 48 "rootrem.c" 2 > ># 1 "../gmp.h" 1 ># 53 "../gmp.h" ># 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include/stddef.h" 1 3 4 ># 54 "../gmp.h" 2 ># 194 "../gmp.h" >typedef unsigned long int mp_limb_t; >typedef long int mp_limb_signed_t; > > > > > > >typedef struct >{ > int _mp_alloc; > > int _mp_size; > > > mp_limb_t *_mp_d; >} __mpz_struct; > > > > >typedef __mpz_struct MP_INT; >typedef __mpz_struct mpz_t[1]; > >typedef mp_limb_t * mp_ptr; >typedef const mp_limb_t * mp_srcptr; > > > > > > > >typedef long int mp_size_t; >typedef long int mp_exp_t; > > >typedef struct >{ > __mpz_struct _mp_num; > __mpz_struct _mp_den; >} __mpq_struct; > >typedef __mpq_struct MP_RAT; >typedef __mpq_struct mpq_t[1]; > >typedef struct >{ > int _mp_prec; > > > > int _mp_size; > > > mp_exp_t _mp_exp; > mp_limb_t *_mp_d; >} __mpf_struct; > > >typedef __mpf_struct mpf_t[1]; > > >typedef enum >{ > GMP_RAND_ALG_DEFAULT = 0, > GMP_RAND_ALG_LC = GMP_RAND_ALG_DEFAULT >} gmp_randalg_t; > > >typedef struct >{ > mpz_t _mp_seed; > gmp_randalg_t _mp_alg; > union { > void *_mp_lc; > } _mp_algdata; >} __gmp_randstate_struct; >typedef __gmp_randstate_struct gmp_randstate_t[1]; > > > >typedef const __mpz_struct *mpz_srcptr; >typedef __mpz_struct *mpz_ptr; >typedef const __mpf_struct *mpf_srcptr; >typedef __mpf_struct *mpf_ptr; >typedef const __mpq_struct *mpq_srcptr; >typedef __mpq_struct *mpq_ptr; ># 524 "../gmp.h" > void __gmp_set_memory_functions (void *(*) (size_t), void *(*) (void *, size_t, size_t), void (*) (void *, size_t)) ; > > > > > void __gmp_get_memory_functions (void *(**) (size_t), void *(**) (void *, size_t, size_t), void (**) (void *, size_t)) ; > > > > > extern const int __gmp_bits_per_limb; > > > extern int __gmp_errno; > > > extern const char * const __gmp_version; > > > > > > > void __gmp_randinit (gmp_randstate_t, gmp_randalg_t, ...); > > > void __gmp_randinit_default (gmp_randstate_t); > > > void __gmp_randinit_lc_2exp (gmp_randstate_t, mpz_srcptr, unsigned long int, unsigned long int); > > > > > int __gmp_randinit_lc_2exp_size (gmp_randstate_t, unsigned long); > > > void __gmp_randinit_mt (gmp_randstate_t); > > >void __gmp_randinit_set (gmp_randstate_t, const __gmp_randstate_struct *); > > > void __gmp_randseed (gmp_randstate_t, mpz_srcptr); > > > void __gmp_randseed_ui (gmp_randstate_t, unsigned long int); > > > void __gmp_randclear (gmp_randstate_t); > > >unsigned long __gmp_urandomb_ui (gmp_randstate_t, unsigned long); > > >unsigned long __gmp_urandomm_ui (gmp_randstate_t, unsigned long); > > > > > > int __gmp_asprintf (char **, const char *, ...); > > > > int __gmp_fprintf (FILE *, const char *, ...); ># 603 "../gmp.h" > int __gmp_printf (const char *, ...); > > > int __gmp_snprintf (char *, size_t, const char *, ...); > > > int __gmp_sprintf (char *, const char *, ...); ># 641 "../gmp.h" > int __gmp_fscanf (FILE *, const char *, ...); > > > > int __gmp_scanf (const char *, ...); > > > int __gmp_sscanf (const char *, const char *, ...); ># 670 "../gmp.h" > void *__gmpz_realloc (mpz_ptr, mp_size_t); > > > > void __gmpz_abs (mpz_ptr, mpz_srcptr); > > > > void __gmpz_add (mpz_ptr, mpz_srcptr, mpz_srcptr); > > > void __gmpz_add_ui (mpz_ptr, mpz_srcptr, unsigned long int); > > > void __gmpz_addmul (mpz_ptr, mpz_srcptr, mpz_srcptr); > > > void __gmpz_addmul_ui (mpz_ptr, mpz_srcptr, unsigned long int); > > > void __gmpz_and (mpz_ptr, mpz_srcptr, mpz_srcptr); > > > void __gmpz_array_init (mpz_ptr, mp_size_t, mp_size_t); > > > void __gmpz_bin_ui (mpz_ptr, mpz_srcptr, unsigned long int); > > > void __gmpz_bin_uiui (mpz_ptr, unsigned long int, unsigned long int); > > > void __gmpz_cdiv_q (mpz_ptr, mpz_srcptr, mpz_srcptr); > > > void __gmpz_cdiv_q_2exp (mpz_ptr, mpz_srcptr, unsigned long); > > > unsigned long int __gmpz_cdiv_q_ui (mpz_ptr, mpz_srcptr, unsigned long int); > > > void __gmpz_cdiv_qr (mpz_ptr, mpz_ptr, mpz_srcptr, mpz_srcptr); > > > unsigned long int __gmpz_cdiv_qr_ui (mpz_ptr, mpz_ptr, mpz_srcptr, unsigned long int); > > > void __gmpz_cdiv_r (mpz_ptr, mpz_srcptr, mpz_srcptr); > > > void __gmpz_cdiv_r_2exp (mpz_ptr, mpz_srcptr, unsigned long); > > > unsigned long int __gmpz_cdiv_r_ui (mpz_ptr, mpz_srcptr, unsigned long int); > > > unsigned long int __gmpz_cdiv_ui (mpz_srcptr, unsigned long int) __attribute__ ((__pure__)); > > > void __gmpz_clear (mpz_ptr); > > > void __gmpz_clrbit (mpz_ptr, unsigned long int); > > > int __gmpz_cmp (mpz_srcptr, mpz_srcptr) __attribute__ ((__pure__)); > > > int __gmpz_cmp_d (mpz_srcptr, double) __attribute__ ((__pure__)); > > > int __gmpz_cmp_si (mpz_srcptr, signed long int) __attribute__ ((__pure__)); > > > int __gmpz_cmp_ui (mpz_srcptr, unsigned long int) __attribute__ ((__pure__)); > > > int __gmpz_cmpabs (mpz_srcptr, mpz_srcptr) __attribute__ ((__pure__)); > > > int __gmpz_cmpabs_d (mpz_srcptr, double) __attribute__ ((__pure__)); > > > int __gmpz_cmpabs_ui (mpz_srcptr, unsigned long int) __attribute__ ((__pure__)); > > > void __gmpz_com (mpz_ptr, mpz_srcptr); > > > void __gmpz_combit (mpz_ptr, unsigned long int); > > > int __gmpz_congruent_p (mpz_srcptr, mpz_srcptr, mpz_srcptr) __attribute__ ((__pure__)); > > > int __gmpz_congruent_2exp_p (mpz_srcptr, mpz_srcptr, unsigned long) __attribute__ ((__pure__)); > > > int __gmpz_congruent_ui_p (mpz_srcptr, unsigned long, unsigned long) __attribute__ ((__pure__)); > > > void __gmpz_divexact (mpz_ptr, mpz_srcptr, mpz_srcptr); > > > void __gmpz_divexact_ui (mpz_ptr, mpz_srcptr, unsigned long); > > > int __gmpz_divisible_p (mpz_srcptr, mpz_srcptr) __attribute__ ((__pure__)); > > > int __gmpz_divisible_ui_p (mpz_srcptr, unsigned long) __attribute__ ((__pure__)); > > > int __gmpz_divisible_2exp_p (mpz_srcptr, unsigned long) __attribute__ ((__pure__)); > > > void __gmpz_dump (mpz_srcptr); > > > void *__gmpz_export (void *, size_t *, int, size_t, int, size_t, mpz_srcptr); > > > void __gmpz_fac_ui (mpz_ptr, unsigned long int); > > > void __gmpz_fdiv_q (mpz_ptr, mpz_srcptr, mpz_srcptr); > > > void __gmpz_fdiv_q_2exp (mpz_ptr, mpz_srcptr, unsigned long int); > > > unsigned long int __gmpz_fdiv_q_ui (mpz_ptr, mpz_srcptr, unsigned long int); > > > void __gmpz_fdiv_qr (mpz_ptr, mpz_ptr, mpz_srcptr, mpz_srcptr); > > > unsigned long int __gmpz_fdiv_qr_ui (mpz_ptr, mpz_ptr, mpz_srcptr, unsigned long int); > > > void __gmpz_fdiv_r (mpz_ptr, mpz_srcptr, mpz_srcptr); > > > void __gmpz_fdiv_r_2exp (mpz_ptr, mpz_srcptr, unsigned long int); > > > unsigned long int __gmpz_fdiv_r_ui (mpz_ptr, mpz_srcptr, unsigned long int); > > > unsigned long int __gmpz_fdiv_ui (mpz_srcptr, unsigned long int) __attribute__ ((__pure__)); > > > void __gmpz_fib_ui (mpz_ptr, unsigned long int); > > > void __gmpz_fib2_ui (mpz_ptr, mpz_ptr, unsigned long int); > > > int __gmpz_fits_sint_p (mpz_srcptr) __attribute__ ((__pure__)); > > > int __gmpz_fits_slong_p (mpz_srcptr) __attribute__ ((__pure__)); > > > int __gmpz_fits_sshort_p (mpz_srcptr) __attribute__ ((__pure__)); > > > > int __gmpz_fits_uint_p (mpz_srcptr) __attribute__ ((__pure__)); > > > > > int __gmpz_fits_ulong_p (mpz_srcptr) __attribute__ ((__pure__)); > > > > > int __gmpz_fits_ushort_p (mpz_srcptr) __attribute__ ((__pure__)); > > > > void __gmpz_gcd (mpz_ptr, mpz_srcptr, mpz_srcptr); > > > unsigned long int __gmpz_gcd_ui (mpz_ptr, mpz_srcptr, unsigned long int); > > > void __gmpz_gcdext (mpz_ptr, mpz_ptr, mpz_ptr, mpz_srcptr, mpz_srcptr); > > > double __gmpz_get_d (mpz_srcptr) __attribute__ ((__pure__)); > > > double __gmpz_get_d_2exp (signed long int *, mpz_srcptr); > > > long int __gmpz_get_si (mpz_srcptr) __attribute__ ((__pure__)); > > > char *__gmpz_get_str (char *, int, mpz_srcptr); > > > > unsigned long int __gmpz_get_ui (mpz_srcptr) __attribute__ ((__pure__)); > > > > > mp_limb_t __gmpz_getlimbn (mpz_srcptr, mp_size_t) __attribute__ ((__pure__)); > > > > unsigned long int __gmpz_hamdist (mpz_srcptr, mpz_srcptr) __attribute__ ((__pure__)); > > > void __gmpz_import (mpz_ptr, size_t, int, size_t, int, size_t, const void *); > > > void __gmpz_init (mpz_ptr); > > > void __gmpz_init2 (mpz_ptr, unsigned long); > > > void __gmpz_init_set (mpz_ptr, mpz_srcptr); > > > void __gmpz_init_set_d (mpz_ptr, double); > > > void __gmpz_init_set_si (mpz_ptr, signed long int); > > > int __gmpz_init_set_str (mpz_ptr, const char *, int); > > > void __gmpz_init_set_ui (mpz_ptr, unsigned long int); > > > > size_t __gmpz_inp_raw (mpz_ptr, FILE *); > > > > > size_t __gmpz_inp_str (mpz_ptr, FILE *, int); > > > > int __gmpz_invert (mpz_ptr, mpz_srcptr, mpz_srcptr); > > > void __gmpz_ior (mpz_ptr, mpz_srcptr, mpz_srcptr); > > > int __gmpz_jacobi (mpz_srcptr, mpz_srcptr) __attribute__ ((__pure__)); > > > > > int __gmpz_kronecker_si (mpz_srcptr, long) __attribute__ ((__pure__)); > > > int __gmpz_kronecker_ui (mpz_srcptr, unsigned long) __attribute__ ((__pure__)); > > > int __gmpz_si_kronecker (long, mpz_srcptr) __attribute__ ((__pure__)); > > > int __gmpz_ui_kronecker (unsigned long, mpz_srcptr) __attribute__ ((__pure__)); > > > void __gmpz_lcm (mpz_ptr, mpz_srcptr, mpz_srcptr); > > > void __gmpz_lcm_ui (mpz_ptr, mpz_srcptr, unsigned long); > > > > > void __gmpz_lucnum_ui (mpz_ptr, unsigned long int); > > > void __gmpz_lucnum2_ui (mpz_ptr, mpz_ptr, unsigned long int); > > > int __gmpz_millerrabin (mpz_srcptr, int) __attribute__ ((__pure__)); > > > void __gmpz_mod (mpz_ptr, mpz_srcptr, mpz_srcptr); > > > > > void __gmpz_mul (mpz_ptr, mpz_srcptr, mpz_srcptr); > > > void __gmpz_mul_2exp (mpz_ptr, mpz_srcptr, unsigned long int); > > > void __gmpz_mul_si (mpz_ptr, mpz_srcptr, long int); > > > void __gmpz_mul_ui (mpz_ptr, mpz_srcptr, unsigned long int); > > > > void __gmpz_neg (mpz_ptr, mpz_srcptr); > > > > void __gmpz_nextprime (mpz_ptr, mpz_srcptr); > > > > size_t __gmpz_out_raw (FILE *, mpz_srcptr); > > > > > size_t __gmpz_out_str (FILE *, int, mpz_srcptr); > > > > int __gmpz_perfect_power_p (mpz_srcptr) __attribute__ ((__pure__)); > > > > int __gmpz_perfect_square_p (mpz_srcptr) __attribute__ ((__pure__)); > > > > > unsigned long int __gmpz_popcount (mpz_srcptr) __attribute__ ((__pure__)); > > > > void __gmpz_pow_ui (mpz_ptr, mpz_srcptr, unsigned long int); > > > void __gmpz_powm (mpz_ptr, mpz_srcptr, mpz_srcptr, mpz_srcptr); > > > void __gmpz_powm_ui (mpz_ptr, mpz_srcptr, unsigned long int, mpz_srcptr); > > > int __gmpz_probab_prime_p (mpz_srcptr, int) __attribute__ ((__pure__)); > > > void __gmpz_random (mpz_ptr, mp_size_t); > > > void __gmpz_random2 (mpz_ptr, mp_size_t); > > > void __gmpz_realloc2 (mpz_ptr, unsigned long); > > > unsigned long int __gmpz_remove (mpz_ptr, mpz_srcptr, mpz_srcptr); > > > int __gmpz_root (mpz_ptr, mpz_srcptr, unsigned long int); > > > void __gmpz_rootrem (mpz_ptr,mpz_ptr, mpz_srcptr, unsigned long int); > > > void __gmpz_rrandomb (mpz_ptr, gmp_randstate_t, unsigned long int); > > > unsigned long int __gmpz_scan0 (mpz_srcptr, unsigned long int) __attribute__ ((__pure__)); > > > unsigned long int __gmpz_scan1 (mpz_srcptr, unsigned long int) __attribute__ ((__pure__)); > > > void __gmpz_set (mpz_ptr, mpz_srcptr); > > > void __gmpz_set_d (mpz_ptr, double); > > > void __gmpz_set_f (mpz_ptr, mpf_srcptr); > > > > void __gmpz_set_q (mpz_ptr, mpq_srcptr); > > > > void __gmpz_set_si (mpz_ptr, signed long int); > > > int __gmpz_set_str (mpz_ptr, const char *, int); > > > void __gmpz_set_ui (mpz_ptr, unsigned long int); > > > void __gmpz_setbit (mpz_ptr, unsigned long int); > > > > size_t __gmpz_size (mpz_srcptr) __attribute__ ((__pure__)); > > > > size_t __gmpz_sizeinbase (mpz_srcptr, int) __attribute__ ((__pure__)); > > > void __gmpz_sqrt (mpz_ptr, mpz_srcptr); > > > void __gmpz_sqrtrem (mpz_ptr, mpz_ptr, mpz_srcptr); > > > void __gmpz_sub (mpz_ptr, mpz_srcptr, mpz_srcptr); > > > void __gmpz_sub_ui (mpz_ptr, mpz_srcptr, unsigned long int); > > > void __gmpz_ui_sub (mpz_ptr, unsigned long int, mpz_srcptr); > > > void __gmpz_submul (mpz_ptr, mpz_srcptr, mpz_srcptr); > > > void __gmpz_submul_ui (mpz_ptr, mpz_srcptr, unsigned long int); > > > void __gmpz_swap (mpz_ptr, mpz_ptr) ; > > > unsigned long int __gmpz_tdiv_ui (mpz_srcptr, unsigned long int) __attribute__ ((__pure__)); > > > void __gmpz_tdiv_q (mpz_ptr, mpz_srcptr, mpz_srcptr); > > > void __gmpz_tdiv_q_2exp (mpz_ptr, mpz_srcptr, unsigned long int); > > > unsigned long int __gmpz_tdiv_q_ui (mpz_ptr, mpz_srcptr, unsigned long int); > > > void __gmpz_tdiv_qr (mpz_ptr, mpz_ptr, mpz_srcptr, mpz_srcptr); > > > unsigned long int __gmpz_tdiv_qr_ui (mpz_ptr, mpz_ptr, mpz_srcptr, unsigned long int); > > > void __gmpz_tdiv_r (mpz_ptr, mpz_srcptr, mpz_srcptr); > > > void __gmpz_tdiv_r_2exp (mpz_ptr, mpz_srcptr, unsigned long int); > > > unsigned long int __gmpz_tdiv_r_ui (mpz_ptr, mpz_srcptr, unsigned long int); > > > int __gmpz_tstbit (mpz_srcptr, unsigned long int) __attribute__ ((__pure__)); > > > void __gmpz_ui_pow_ui (mpz_ptr, unsigned long int, unsigned long int); > > > void __gmpz_urandomb (mpz_ptr, gmp_randstate_t, unsigned long int); > > > void __gmpz_urandomm (mpz_ptr, gmp_randstate_t, mpz_srcptr); > > > > void __gmpz_xor (mpz_ptr, mpz_srcptr, mpz_srcptr); > > > > > > > void __gmpq_abs (mpq_ptr, mpq_srcptr); > > > > void __gmpq_add (mpq_ptr, mpq_srcptr, mpq_srcptr); > > > void __gmpq_canonicalize (mpq_ptr); > > > void __gmpq_clear (mpq_ptr); > > > int __gmpq_cmp (mpq_srcptr, mpq_srcptr) __attribute__ ((__pure__)); > > > int __gmpq_cmp_si (mpq_srcptr, long, unsigned long) __attribute__ ((__pure__)); > > > int __gmpq_cmp_ui (mpq_srcptr, unsigned long int, unsigned long int) __attribute__ ((__pure__)); > > > void __gmpq_div (mpq_ptr, mpq_srcptr, mpq_srcptr); > > > void __gmpq_div_2exp (mpq_ptr, mpq_srcptr, unsigned long); > > > int __gmpq_equal (mpq_srcptr, mpq_srcptr) __attribute__ ((__pure__)); > > > void __gmpq_get_num (mpz_ptr, mpq_srcptr); > > > void __gmpq_get_den (mpz_ptr, mpq_srcptr); > > > double __gmpq_get_d (mpq_srcptr) __attribute__ ((__pure__)); > > > char *__gmpq_get_str (char *, int, mpq_srcptr); > > > void __gmpq_init (mpq_ptr); > > > > size_t __gmpq_inp_str (mpq_ptr, FILE *, int); > > > > void __gmpq_inv (mpq_ptr, mpq_srcptr); > > > void __gmpq_mul (mpq_ptr, mpq_srcptr, mpq_srcptr); > > > void __gmpq_mul_2exp (mpq_ptr, mpq_srcptr, unsigned long); > > > > void __gmpq_neg (mpq_ptr, mpq_srcptr); > > > > > size_t __gmpq_out_str (FILE *, int, mpq_srcptr); > > > > void __gmpq_set (mpq_ptr, mpq_srcptr); > > > void __gmpq_set_d (mpq_ptr, double); > > > void __gmpq_set_den (mpq_ptr, mpz_srcptr); > > > void __gmpq_set_f (mpq_ptr, mpf_srcptr); > > > void __gmpq_set_num (mpq_ptr, mpz_srcptr); > > > void __gmpq_set_si (mpq_ptr, signed long int, unsigned long int); > > > int __gmpq_set_str (mpq_ptr, const char *, int); > > > void __gmpq_set_ui (mpq_ptr, unsigned long int, unsigned long int); > > > void __gmpq_set_z (mpq_ptr, mpz_srcptr); > > > void __gmpq_sub (mpq_ptr, mpq_srcptr, mpq_srcptr); > > > void __gmpq_swap (mpq_ptr, mpq_ptr) ; > > > > > > void __gmpf_abs (mpf_ptr, mpf_srcptr); > > > void __gmpf_add (mpf_ptr, mpf_srcptr, mpf_srcptr); > > > void __gmpf_add_ui (mpf_ptr, mpf_srcptr, unsigned long int); > > void __gmpf_ceil (mpf_ptr, mpf_srcptr); > > > void __gmpf_clear (mpf_ptr); > > > int __gmpf_cmp (mpf_srcptr, mpf_srcptr) __attribute__ ((__pure__)); > > > int __gmpf_cmp_d (mpf_srcptr, double) __attribute__ ((__pure__)); > > > int __gmpf_cmp_si (mpf_srcptr, signed long int) __attribute__ ((__pure__)); > > > int __gmpf_cmp_ui (mpf_srcptr, unsigned long int) __attribute__ ((__pure__)); > > > void __gmpf_div (mpf_ptr, mpf_srcptr, mpf_srcptr); > > > void __gmpf_div_2exp (mpf_ptr, mpf_srcptr, unsigned long int); > > > void __gmpf_div_ui (mpf_ptr, mpf_srcptr, unsigned long int); > > > void __gmpf_dump (mpf_srcptr); > > > int __gmpf_eq (mpf_srcptr, mpf_srcptr, unsigned long int) __attribute__ ((__pure__)); > > > int __gmpf_fits_sint_p (mpf_srcptr) __attribute__ ((__pure__)); > > > int __gmpf_fits_slong_p (mpf_srcptr) __attribute__ ((__pure__)); > > > int __gmpf_fits_sshort_p (mpf_srcptr) __attribute__ ((__pure__)); > > > int __gmpf_fits_uint_p (mpf_srcptr) __attribute__ ((__pure__)); > > > int __gmpf_fits_ulong_p (mpf_srcptr) __attribute__ ((__pure__)); > > > int __gmpf_fits_ushort_p (mpf_srcptr) __attribute__ ((__pure__)); > > > void __gmpf_floor (mpf_ptr, mpf_srcptr); > > > double __gmpf_get_d (mpf_srcptr) __attribute__ ((__pure__)); > > > double __gmpf_get_d_2exp (signed long int *, mpf_srcptr); > > > unsigned long int __gmpf_get_default_prec (void) __attribute__ ((__pure__)); > > > unsigned long int __gmpf_get_prec (mpf_srcptr) __attribute__ ((__pure__)); > > > long __gmpf_get_si (mpf_srcptr) __attribute__ ((__pure__)); > > > char *__gmpf_get_str (char *, mp_exp_t *, int, size_t, mpf_srcptr); > > > unsigned long __gmpf_get_ui (mpf_srcptr) __attribute__ ((__pure__)); > > > void __gmpf_init (mpf_ptr); > > > void __gmpf_init2 (mpf_ptr, unsigned long int); > > > void __gmpf_init_set (mpf_ptr, mpf_srcptr); > > > void __gmpf_init_set_d (mpf_ptr, double); > > > void __gmpf_init_set_si (mpf_ptr, signed long int); > > > int __gmpf_init_set_str (mpf_ptr, const char *, int); > > > void __gmpf_init_set_ui (mpf_ptr, unsigned long int); > > > > size_t __gmpf_inp_str (mpf_ptr, FILE *, int); > > > > int __gmpf_integer_p (mpf_srcptr) __attribute__ ((__pure__)); > > > void __gmpf_mul (mpf_ptr, mpf_srcptr, mpf_srcptr); > > > void __gmpf_mul_2exp (mpf_ptr, mpf_srcptr, unsigned long int); > > > void __gmpf_mul_ui (mpf_ptr, mpf_srcptr, unsigned long int); > > > void __gmpf_neg (mpf_ptr, mpf_srcptr); > > > > size_t __gmpf_out_str (FILE *, int, size_t, mpf_srcptr); > > > > void __gmpf_pow_ui (mpf_ptr, mpf_srcptr, unsigned long int); > > > void __gmpf_random2 (mpf_ptr, mp_size_t, mp_exp_t); > > > void __gmpf_reldiff (mpf_ptr, mpf_srcptr, mpf_srcptr); > > > void __gmpf_set (mpf_ptr, mpf_srcptr); > > > void __gmpf_set_d (mpf_ptr, double); > > > void __gmpf_set_default_prec (unsigned long int) ; > > > void __gmpf_set_prec (mpf_ptr, unsigned long int); > > > void __gmpf_set_prec_raw (mpf_ptr, unsigned long int) ; > > > void __gmpf_set_q (mpf_ptr, mpq_srcptr); > > > void __gmpf_set_si (mpf_ptr, signed long int); > > > int __gmpf_set_str (mpf_ptr, const char *, int); > > > void __gmpf_set_ui (mpf_ptr, unsigned long int); > > > void __gmpf_set_z (mpf_ptr, mpz_srcptr); > > > size_t __gmpf_size (mpf_srcptr) __attribute__ ((__pure__)); > > > void __gmpf_sqrt (mpf_ptr, mpf_srcptr); > > > void __gmpf_sqrt_ui (mpf_ptr, unsigned long int); > > > void __gmpf_sub (mpf_ptr, mpf_srcptr, mpf_srcptr); > > > void __gmpf_sub_ui (mpf_ptr, mpf_srcptr, unsigned long int); > > > void __gmpf_swap (mpf_ptr, mpf_ptr) ; > > > void __gmpf_trunc (mpf_ptr, mpf_srcptr); > > > void __gmpf_ui_div (mpf_ptr, unsigned long int, mpf_srcptr); > > > void __gmpf_ui_sub (mpf_ptr, unsigned long int, mpf_srcptr); > > > void __gmpf_urandomb (mpf_t, gmp_randstate_t, unsigned long int); ># 1462 "../gmp.h" > mp_limb_t __gmpn_add (mp_ptr, mp_srcptr, mp_size_t, mp_srcptr,mp_size_t); > > > > > mp_limb_t __gmpn_add_1 (mp_ptr, mp_srcptr, mp_size_t, mp_limb_t) ; > > > > mp_limb_t __gmpn_add_n (mp_ptr, mp_srcptr, mp_srcptr, mp_size_t); > > > mp_limb_t __gmpn_addmul_1 (mp_ptr, mp_srcptr, mp_size_t, mp_limb_t); > > > mp_limb_t __gmpn_bdivmod (mp_ptr, mp_ptr, mp_size_t, mp_srcptr, mp_size_t, unsigned long int); > > > > int __gmpn_cmp (mp_srcptr, mp_srcptr, mp_size_t) __attribute__ ((__pure__)); > > > > > > > mp_limb_t __gmpn_divexact_by3c (mp_ptr, mp_srcptr, mp_size_t, mp_limb_t); > > > > > > mp_limb_t __gmpn_divrem (mp_ptr, mp_size_t, mp_ptr, mp_size_t, mp_srcptr, mp_size_t); > > > mp_limb_t __gmpn_divrem_1 (mp_ptr, mp_size_t, mp_srcptr, mp_size_t, mp_limb_t); > > > mp_limb_t __gmpn_divrem_2 (mp_ptr, mp_size_t, mp_ptr, mp_size_t, mp_srcptr); > > > mp_size_t __gmpn_gcd (mp_ptr, mp_ptr, mp_size_t, mp_ptr, mp_size_t); > > > mp_limb_t __gmpn_gcd_1 (mp_srcptr, mp_size_t, mp_limb_t) __attribute__ ((__pure__)); > > > mp_size_t __gmpn_gcdext (mp_ptr, mp_ptr, mp_size_t *, mp_ptr, mp_size_t, mp_ptr, mp_size_t); > > > size_t __gmpn_get_str (unsigned char *, int, mp_ptr, mp_size_t); > > > unsigned long int __gmpn_hamdist (mp_srcptr, mp_srcptr, mp_size_t) __attribute__ ((__pure__)); > > > mp_limb_t __gmpn_lshift (mp_ptr, mp_srcptr, mp_size_t, unsigned int); > > > mp_limb_t __gmpn_mod_1 (mp_srcptr, mp_size_t, mp_limb_t) __attribute__ ((__pure__)); > > > mp_limb_t __gmpn_mul (mp_ptr, mp_srcptr, mp_size_t, mp_srcptr, mp_size_t); > > > mp_limb_t __gmpn_mul_1 (mp_ptr, mp_srcptr, mp_size_t, mp_limb_t); > > > void __gmpn_mul_n (mp_ptr, mp_srcptr, mp_srcptr, mp_size_t); > > > int __gmpn_perfect_square_p (mp_srcptr, mp_size_t) __attribute__ ((__pure__)); > > > unsigned long int __gmpn_popcount (mp_srcptr, mp_size_t) __attribute__ ((__pure__)); > > > mp_size_t __gmpn_pow_1 (mp_ptr, mp_srcptr, mp_size_t, mp_limb_t, mp_ptr); > > > > mp_limb_t __gmpn_preinv_mod_1 (mp_srcptr, mp_size_t, mp_limb_t, mp_limb_t) __attribute__ ((__pure__)); > > > void __gmpn_random (mp_ptr, mp_size_t); > > > void __gmpn_random2 (mp_ptr, mp_size_t); > > > mp_limb_t __gmpn_rshift (mp_ptr, mp_srcptr, mp_size_t, unsigned int); > > > unsigned long int __gmpn_scan0 (mp_srcptr, unsigned long int) __attribute__ ((__pure__)); > > > unsigned long int __gmpn_scan1 (mp_srcptr, unsigned long int) __attribute__ ((__pure__)); > > > mp_size_t __gmpn_set_str (mp_ptr, const unsigned char *, size_t, int); > > > mp_size_t __gmpn_sqrtrem (mp_ptr, mp_ptr, mp_srcptr, mp_size_t); > > > > mp_limb_t __gmpn_sub (mp_ptr, mp_srcptr, mp_size_t, mp_srcptr,mp_size_t); > > > > > mp_limb_t __gmpn_sub_1 (mp_ptr, mp_srcptr, mp_size_t, mp_limb_t) ; > > > > mp_limb_t __gmpn_sub_n (mp_ptr, mp_srcptr, mp_srcptr, mp_size_t); > > > mp_limb_t __gmpn_submul_1 (mp_ptr, mp_srcptr, mp_size_t, mp_limb_t); > > > void __gmpn_tdiv_qr (mp_ptr, mp_ptr, mp_size_t, mp_srcptr, mp_size_t, mp_srcptr, mp_size_t); ># 1603 "../gmp.h" >extern __inline__ void >__gmpz_abs (mpz_ptr __gmp_w, mpz_srcptr __gmp_u) >{ > if (__gmp_w != __gmp_u) > __gmpz_set (__gmp_w, __gmp_u); > __gmp_w->_mp_size = ((__gmp_w->_mp_size) >= 0 ? (__gmp_w->_mp_size) : -(__gmp_w->_mp_size)); >} ># 1627 "../gmp.h" >extern __inline__ > >int >__gmpz_fits_uint_p (mpz_srcptr __gmp_z) >{ > mp_size_t __gmp_n = __gmp_z->_mp_size; mp_ptr __gmp_p = __gmp_z->_mp_d; return (__gmp_n == 0 || (__gmp_n == 1 && __gmp_p[0] <= (~ (unsigned) 0)));; >} > > > > >extern __inline__ > >int >__gmpz_fits_ulong_p (mpz_srcptr __gmp_z) >{ > mp_size_t __gmp_n = __gmp_z->_mp_size; mp_ptr __gmp_p = __gmp_z->_mp_d; return (__gmp_n == 0 || (__gmp_n == 1 && __gmp_p[0] <= (~ (unsigned long) 0)));; >} > > > > >extern __inline__ > >int >__gmpz_fits_ushort_p (mpz_srcptr __gmp_z) >{ > mp_size_t __gmp_n = __gmp_z->_mp_size; mp_ptr __gmp_p = __gmp_z->_mp_d; return (__gmp_n == 0 || (__gmp_n == 1 && __gmp_p[0] <= ((unsigned short) ~0)));; >} > > > > >extern __inline__ > >unsigned long >__gmpz_get_ui (mpz_srcptr __gmp_z) >{ > mp_ptr __gmp_p = __gmp_z->_mp_d; > mp_size_t __gmp_n = __gmp_z->_mp_size; > mp_limb_t __gmp_l = __gmp_p[0]; > > > > > > > return (__gmp_n != 0 ? __gmp_l : 0); ># 1683 "../gmp.h" >} > > > > >extern __inline__ > >mp_limb_t >__gmpz_getlimbn (mpz_srcptr __gmp_z, mp_size_t __gmp_n) >{ > mp_limb_t __gmp_result = 0; > if (__builtin_expect ((__gmp_n >= 0 && __gmp_n < ((__gmp_z->_mp_size) >= 0 ? (__gmp_z->_mp_size) : -(__gmp_z->_mp_size))) != 0, 1)) > __gmp_result = __gmp_z->_mp_d[__gmp_n]; > return __gmp_result; >} > > > >extern __inline__ void >__gmpz_neg (mpz_ptr __gmp_w, mpz_srcptr __gmp_u) >{ > if (__gmp_w != __gmp_u) > __gmpz_set (__gmp_w, __gmp_u); > __gmp_w->_mp_size = - __gmp_w->_mp_size; >} > > > > >extern __inline__ > >int >__gmpz_perfect_square_p (mpz_srcptr __gmp_a) >{ > mp_size_t __gmp_asize; > int __gmp_result; > > __gmp_asize = __gmp_a->_mp_size; > __gmp_result = (__gmp_asize >= 0); > if (__builtin_expect ((__gmp_asize > 0) != 0, 1)) > __gmp_result = __gmpn_perfect_square_p (__gmp_a->_mp_d, __gmp_asize); > return __gmp_result; >} > > > > >extern __inline__ > >unsigned long >__gmpz_popcount (mpz_srcptr __gmp_u) >{ > mp_size_t __gmp_usize; > unsigned long __gmp_result; > > __gmp_usize = __gmp_u->_mp_size; > __gmp_result = (__gmp_usize < 0 ? (~ (unsigned long) 0) : 0); > if (__builtin_expect ((__gmp_usize > 0) != 0, 1)) > __gmp_result = __gmpn_popcount (__gmp_u->_mp_d, __gmp_usize); > return __gmp_result; >} > > > > >extern __inline__ > >void >__gmpz_set_q (mpz_ptr __gmp_w, mpq_srcptr __gmp_u) >{ > __gmpz_tdiv_q (__gmp_w, (&((__gmp_u)->_mp_num)), (&((__gmp_u)->_mp_den))); >} > > > > >extern __inline__ > >size_t >__gmpz_size (mpz_srcptr __gmp_z) >{ > return ((__gmp_z->_mp_size) >= 0 ? (__gmp_z->_mp_size) : -(__gmp_z->_mp_size)); >} > > > > > > >extern __inline__ void >__gmpq_abs (mpq_ptr __gmp_w, mpq_srcptr __gmp_u) >{ > if (__gmp_w != __gmp_u) > __gmpq_set (__gmp_w, __gmp_u); > __gmp_w->_mp_num._mp_size = ((__gmp_w->_mp_num._mp_size) >= 0 ? (__gmp_w->_mp_num._mp_size) : -(__gmp_w->_mp_num._mp_size)); >} > > > >extern __inline__ void >__gmpq_neg (mpq_ptr __gmp_w, mpq_srcptr __gmp_u) >{ > if (__gmp_w != __gmp_u) > __gmpq_set (__gmp_w, __gmp_u); > __gmp_w->_mp_num._mp_size = - __gmp_w->_mp_num._mp_size; >} ># 2025 "../gmp.h" >extern __inline__ > >mp_limb_t >__gmpn_add (mp_ptr __gmp_wp, mp_srcptr __gmp_xp, mp_size_t __gmp_xsize, mp_srcptr __gmp_yp, mp_size_t __gmp_ysize) >{ > mp_limb_t __gmp_c; > do { mp_size_t __gmp_i; mp_limb_t __gmp_x; __gmp_i = (__gmp_ysize); if (__gmp_i != 0) { if (__gmpn_add_n (__gmp_wp, __gmp_xp, __gmp_yp, __gmp_i)) { do { if (__gmp_i >= (__gmp_xsize)) { (__gmp_c) = 1; goto __gmp_done; } __gmp_x = (__gmp_xp)[__gmp_i]; } while ((((__gmp_wp)[__gmp_i++] = (__gmp_x + 1) & ((~ ((mp_limb_t) (0))) >> 0)) == 0)); } } if ((__gmp_wp) != (__gmp_xp)) do { mp_size_t __gmp_j; ; for (__gmp_j = (__gmp_i); __gmp_j < (__gmp_xsize); __gmp_j++) (__gmp_wp)[__gmp_j] = (__gmp_xp)[__gmp_j]; } while (0); (__gmp_c) = 0; __gmp_done: ; } while (0); > return __gmp_c; >} > > > > >extern __inline__ > >mp_limb_t >__gmpn_add_1 (mp_ptr __gmp_dst, mp_srcptr __gmp_src, mp_size_t __gmp_size, mp_limb_t __gmp_n) >{ > mp_limb_t __gmp_c; > do { mp_size_t __gmp_i; mp_limb_t __gmp_x, __gmp_r; __gmp_x = (__gmp_src)[0]; __gmp_r = __gmp_x + (__gmp_n); (__gmp_dst)[0] = __gmp_r; if (((__gmp_r) < ((__gmp_n)))) { (__gmp_c) = 1; for (__gmp_i = 1; __gmp_i < (__gmp_size);) { __gmp_x = (__gmp_src)[__gmp_i]; __gmp_r = __gmp_x + 1; (__gmp_dst)[__gmp_i] = __gmp_r; ++__gmp_i; if (!((__gmp_r) < (1))) { if ((__gmp_src) != (__gmp_dst)) do { mp_size_t __gmp_j; ; for (__gmp_j = (__gmp_i); __gmp_j < (__gmp_size); __gmp_j++) (__gmp_dst)[__gmp_j] = (__gmp_src)[__gmp_j]; } while (0); (__gmp_c) = 0; break; } } } else { if ((__gmp_src) != (__gmp_dst)) do { mp_size_t __gmp_j; ; for (__gmp_j = (1); __gmp_j < (__gmp_size); __gmp_j++) (__gmp_dst)[__gmp_j] = (__gmp_src)[__gmp_j]; } while (0); (__gmp_c) = 0; } } while (0); > return __gmp_c; >} > > > > >extern __inline__ > >int >__gmpn_cmp (mp_srcptr __gmp_xp, mp_srcptr __gmp_yp, mp_size_t __gmp_size) >{ > int __gmp_result; > do { mp_size_t __gmp_i; mp_limb_t __gmp_x, __gmp_y; (__gmp_result) = 0; __gmp_i = (__gmp_size); while (--__gmp_i >= 0) { __gmp_x = (__gmp_xp)[__gmp_i]; __gmp_y = (__gmp_yp)[__gmp_i]; if (__gmp_x != __gmp_y) { (__gmp_result) = (__gmp_x > __gmp_y ? 1 : -1); break; } } } while (0); > return __gmp_result; >} > > > > >extern __inline__ > >mp_limb_t >__gmpn_sub (mp_ptr __gmp_wp, mp_srcptr __gmp_xp, mp_size_t __gmp_xsize, mp_srcptr __gmp_yp, mp_size_t __gmp_ysize) >{ > mp_limb_t __gmp_c; > do { mp_size_t __gmp_i; mp_limb_t __gmp_x; __gmp_i = (__gmp_ysize); if (__gmp_i != 0) { if (__gmpn_sub_n (__gmp_wp, __gmp_xp, __gmp_yp, __gmp_i)) { do { if (__gmp_i >= (__gmp_xsize)) { (__gmp_c) = 1; goto __gmp_done; } __gmp_x = (__gmp_xp)[__gmp_i]; } while ((((__gmp_wp)[__gmp_i++] = (__gmp_x - 1) & ((~ ((mp_limb_t) (0))) >> 0)), __gmp_x == 0)); } } if ((__gmp_wp) != (__gmp_xp)) do { mp_size_t __gmp_j; ; for (__gmp_j = (__gmp_i); __gmp_j < (__gmp_xsize); __gmp_j++) (__gmp_wp)[__gmp_j] = (__gmp_xp)[__gmp_j]; } while (0); (__gmp_c) = 0; __gmp_done: ; } while (0); > return __gmp_c; >} > > > > >extern __inline__ > >mp_limb_t >__gmpn_sub_1 (mp_ptr __gmp_dst, mp_srcptr __gmp_src, mp_size_t __gmp_size, mp_limb_t __gmp_n) >{ > mp_limb_t __gmp_c; > do { mp_size_t __gmp_i; mp_limb_t __gmp_x, __gmp_r; __gmp_x = (__gmp_src)[0]; __gmp_r = __gmp_x - (__gmp_n); (__gmp_dst)[0] = __gmp_r; if (((__gmp_x) < ((__gmp_n)))) { (__gmp_c) = 1; for (__gmp_i = 1; __gmp_i < (__gmp_size);) { __gmp_x = (__gmp_src)[__gmp_i]; __gmp_r = __gmp_x - 1; (__gmp_dst)[__gmp_i] = __gmp_r; ++__gmp_i; if (!((__gmp_x) < (1))) { if ((__gmp_src) != (__gmp_dst)) do { mp_size_t __gmp_j; ; for (__gmp_j = (__gmp_i); __gmp_j < (__gmp_size); __gmp_j++) (__gmp_dst)[__gmp_j] = (__gmp_src)[__gmp_j]; } while (0); (__gmp_c) = 0; break; } } } else { if ((__gmp_src) != (__gmp_dst)) do { mp_size_t __gmp_j; ; for (__gmp_j = (1); __gmp_j < (__gmp_size); __gmp_j++) (__gmp_dst)[__gmp_j] = (__gmp_src)[__gmp_j]; } while (0); (__gmp_c) = 0; } } while (0); > return __gmp_c; >} ># 2164 "../gmp.h" >enum >{ > GMP_ERROR_NONE = 0, > GMP_ERROR_UNSUPPORTED_ARGUMENT = 1, > GMP_ERROR_DIVISION_BY_ZERO = 2, > GMP_ERROR_SQRT_OF_NEGATIVE = 4, > GMP_ERROR_INVALID_ARGUMENT = 8 >}; ># 50 "rootrem.c" 2 ># 1 "../gmp-impl.h" 1 ># 100 "../gmp-impl.h" ># 1 "../config.h" 1 ># 101 "../gmp-impl.h" 2 ># 1 "../gmp-mparam.h" 1 ># 102 "../gmp-impl.h" 2 ># 1 "../fib_table.h" 1 ># 103 "../gmp-impl.h" 2 ># 1 "../mp_bases.h" 1 ># 104 "../gmp-impl.h" 2 > > > > > > ># 1 "/usr/include/inttypes.h" 1 3 4 ># 28 "/usr/include/inttypes.h" 3 4 ># 1 "/usr/include/stdint.h" 1 3 4 ># 27 "/usr/include/stdint.h" 3 4 ># 1 "/usr/include/bits/wchar.h" 1 3 4 ># 28 "/usr/include/stdint.h" 2 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/usr/include/stdint.h" 2 3 4 ># 49 "/usr/include/stdint.h" 3 4 >typedef unsigned char uint8_t; >typedef unsigned short int uint16_t; > >typedef unsigned int uint32_t; > > > > > >__extension__ >typedef unsigned long long int uint64_t; > > > > > > >typedef signed char int_least8_t; >typedef short int int_least16_t; >typedef int int_least32_t; > > > >__extension__ >typedef long long int int_least64_t; > > > >typedef unsigned char uint_least8_t; >typedef unsigned short int uint_least16_t; >typedef unsigned int uint_least32_t; > > > >__extension__ >typedef unsigned long long int uint_least64_t; > > > > > > >typedef signed char int_fast8_t; > > > > > >typedef int int_fast16_t; >typedef int int_fast32_t; >__extension__ >typedef long long int int_fast64_t; > > > >typedef unsigned char uint_fast8_t; > > > > > >typedef unsigned int uint_fast16_t; >typedef unsigned int uint_fast32_t; >__extension__ >typedef unsigned long long int uint_fast64_t; ># 126 "/usr/include/stdint.h" 3 4 >typedef int intptr_t; > > >typedef unsigned int uintptr_t; ># 138 "/usr/include/stdint.h" 3 4 >__extension__ >typedef long long int intmax_t; >__extension__ >typedef unsigned long long int uintmax_t; ># 29 "/usr/include/inttypes.h" 2 3 4 > > > > > > >typedef long int __gwchar_t; ># 274 "/usr/include/inttypes.h" 3 4 > ># 288 "/usr/include/inttypes.h" 3 4 >typedef struct > { > long long int quot; > long long int rem; > } imaxdiv_t; > > > > > >extern intmax_t imaxabs (intmax_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom) > __attribute__ ((__nothrow__)) __attribute__ ((__const__)); > > >extern intmax_t strtoimax (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) __attribute__ ((__nothrow__)); > > >extern uintmax_t strtoumax (__const char *__restrict __nptr, > char ** __restrict __endptr, int __base) __attribute__ ((__nothrow__)); > > >extern intmax_t wcstoimax (__const __gwchar_t *__restrict __nptr, > __gwchar_t **__restrict __endptr, int __base) > __attribute__ ((__nothrow__)); > > >extern uintmax_t wcstoumax (__const __gwchar_t *__restrict __nptr, > __gwchar_t ** __restrict __endptr, int __base) > __attribute__ ((__nothrow__)); ># 379 "/usr/include/inttypes.h" 3 4 >__extension__ >extern long long int __strtoll_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > >extern __inline intmax_t >__attribute__ ((__nothrow__)) strtoimax (__const char *__restrict nptr, char **__restrict endptr, int base) > >{ > return __strtoll_internal (nptr, endptr, base, 0); >} > >__extension__ >extern unsigned long long int __strtoull_internal (__const char * > __restrict __nptr, > char ** > __restrict __endptr, > int __base, > int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > >extern __inline uintmax_t >__attribute__ ((__nothrow__)) strtoumax (__const char *__restrict nptr, char **__restrict endptr, int base) > >{ > return __strtoull_internal (nptr, endptr, base, 0); >} > >__extension__ >extern long long int __wcstoll_internal (__const __gwchar_t * > __restrict __nptr, > __gwchar_t **__restrict __endptr, > int __base, int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > >extern __inline intmax_t >__attribute__ ((__nothrow__)) wcstoimax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr, int base) > >{ > return __wcstoll_internal (nptr, endptr, base, 0); >} > > >__extension__ >extern unsigned long long int __wcstoull_internal (__const __gwchar_t * > __restrict __nptr, > __gwchar_t ** > __restrict __endptr, > int __base, > int __group) > __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ; > >extern __inline uintmax_t >__attribute__ ((__nothrow__)) wcstoumax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr, int base) > >{ > return __wcstoull_internal (nptr, endptr, base, 0); >} > > > > > ># 111 "../gmp-impl.h" 2 ># 192 "../gmp-impl.h" >typedef uint_least32_t gmp_uint_least32_t; ># 299 "../gmp-impl.h" >union tmp_align_t { > mp_limb_t l; > char *p; >}; ># 316 "../gmp-impl.h" >struct tmp_reentrant_t { > struct tmp_reentrant_t *next; > size_t size; >}; >void *__gmp_tmp_reentrant_alloc (struct tmp_reentrant_t **, size_t) __attribute__ ((malloc)); >void __gmp_tmp_reentrant_free (struct tmp_reentrant_t *); ># 665 "../gmp-impl.h" > extern void * (*__gmp_allocate_func) (size_t); > extern void * (*__gmp_reallocate_func) (void *, size_t, size_t); > extern void (*__gmp_free_func) (void *, size_t); > >void *__gmp_default_allocate (size_t); >void *__gmp_default_reallocate (void *, size_t, size_t); >void __gmp_default_free (void *, size_t); ># 772 "../gmp-impl.h" >void __gmpz_aorsmul_1 (mpz_ptr w,mpz_srcptr u,mp_limb_t v,mp_size_t sub) ; > > > >void __gmpz_n_pow_ui (mpz_ptr, mp_srcptr, mp_size_t, unsigned long); > > > > mp_limb_t __gmpn_add_nc (mp_ptr, mp_srcptr, mp_srcptr, mp_size_t, mp_limb_t); > > > mp_limb_t __gmpn_addmul_1c (mp_ptr, mp_srcptr, mp_size_t, mp_limb_t, mp_limb_t); > > > mp_limb_t __gmpn_addmul_2 (mp_ptr, mp_srcptr, mp_size_t, mp_srcptr); > > > mp_limb_t __gmpn_addmul_3 (mp_ptr, mp_srcptr, mp_size_t, mp_srcptr); > > > mp_limb_t __gmpn_addmul_4 (mp_ptr, mp_srcptr, mp_size_t, mp_srcptr); > > > mp_limb_t __gmpn_addmul_5 (mp_ptr, mp_srcptr, mp_size_t, mp_srcptr); > > > mp_limb_t __gmpn_addmul_6 (mp_ptr, mp_srcptr, mp_size_t, mp_srcptr); > > > mp_limb_t __gmpn_addmul_7 (mp_ptr, mp_srcptr, mp_size_t, mp_srcptr); > > > mp_limb_t __gmpn_addmul_8 (mp_ptr, mp_srcptr, mp_size_t, mp_srcptr); > > > > > mp_limb_t __gmpn_addlsh1_n (mp_ptr, mp_srcptr, mp_srcptr, mp_size_t); > > > > > mp_limb_t __gmpn_sublsh1_n (mp_ptr, mp_srcptr, mp_srcptr, mp_size_t); > > > > > mp_limb_t __gmpn_rsh1add_n (mp_ptr, mp_srcptr, mp_srcptr, mp_size_t); > > > > > > > mp_limb_t __gmpn_rsh1sub_n (mp_ptr, mp_srcptr, mp_srcptr, mp_size_t); > > > mp_limb_t __gmpn_addsub_n (mp_ptr, mp_ptr, mp_srcptr, mp_srcptr, mp_size_t); > > > mp_limb_t __gmpn_addsub_nc (mp_ptr, mp_ptr, mp_srcptr, mp_srcptr, mp_size_t, mp_limb_t); > > > mp_limb_t __gmpn_divrem_1c (mp_ptr, mp_size_t, mp_srcptr, mp_size_t, mp_limb_t, mp_limb_t); > > > void __gmpn_dump (mp_srcptr, mp_size_t); > > >mp_size_t __gmpn_fib2_ui (mp_ptr, mp_ptr, unsigned long); > > > > > > >mp_limb_t __gmpn_gcd_finda (const mp_limb_t cp[2]) __attribute__ ((__pure__)); > > >int __gmpn_jacobi_base (mp_limb_t a, mp_limb_t b, int result_bit1) __attribute__ ((const)); > > > mp_limb_t __gmpn_mod_1c (mp_srcptr, mp_size_t, mp_limb_t, mp_limb_t) __attribute__ ((__pure__)); > > > mp_limb_t __gmpn_mul_1c (mp_ptr, mp_srcptr, mp_size_t, mp_limb_t, mp_limb_t); > > >mp_limb_t __gmpn_mul_2 (mp_ptr, mp_srcptr, mp_size_t, mp_srcptr); > > > > void __gmpn_mul_basecase (mp_ptr, mp_srcptr, mp_size_t, mp_srcptr, mp_size_t); > > > > void __gmpn_mullow_n (mp_ptr, mp_srcptr, mp_srcptr, mp_size_t); > > > void __gmpn_mullow_basecase (mp_ptr, mp_srcptr, mp_srcptr, mp_size_t); > > > void __gmpn_sqr_n (mp_ptr, mp_srcptr, mp_size_t); > > > > void __gmpn_sqr_basecase (mp_ptr, mp_srcptr, mp_size_t); > > > > mp_limb_t __gmpn_sub_nc (mp_ptr, mp_srcptr, mp_srcptr, mp_size_t, mp_limb_t); > > > mp_limb_t __gmpn_submul_1c (mp_ptr, mp_srcptr, mp_size_t, mp_limb_t, mp_limb_t); > > > void __gmpn_invert_2exp (mp_ptr, mp_srcptr, mp_size_t, mp_ptr); > > > void __gmpn_redc_1 (mp_ptr, mp_ptr, mp_srcptr, mp_size_t, mp_limb_t); > > > void __gmpn_redc_2 (mp_ptr, mp_ptr, mp_srcptr, mp_size_t, mp_srcptr); > > >typedef __gmp_randstate_struct *gmp_randstate_ptr; >typedef const __gmp_randstate_struct *gmp_randstate_srcptr; > > >typedef struct { > void (*randseed_fn) (gmp_randstate_t rstate, mpz_srcptr seed); > void (*randget_fn) (gmp_randstate_t rstate, mp_ptr dest, unsigned long int nbits); > void (*randclear_fn) (gmp_randstate_t rstate); > void (*randiset_fn) (gmp_randstate_ptr, gmp_randstate_srcptr); >} gmp_randfnptr_t; ># 923 "../gmp-impl.h" > void __gmp_randinit_mt_noseed (gmp_randstate_t); ># 938 "../gmp-impl.h" > extern char __gmp_rands_initialized; > extern gmp_randstate_t __gmp_rands; ># 1002 "../gmp-impl.h" >void __gmpn_sqr_diagonal (mp_ptr, mp_srcptr, mp_size_t); > > >void __gmpn_kara_mul_n (mp_ptr, mp_srcptr, mp_srcptr, mp_size_t, mp_ptr); > > >void __gmpn_kara_sqr_n (mp_ptr, mp_srcptr, mp_size_t, mp_ptr); > > >void __gmpn_toom3_mul_n (mp_ptr, mp_srcptr, mp_srcptr, mp_size_t,mp_ptr); > > >void __gmpn_toom3_sqr_n (mp_ptr, mp_srcptr, mp_size_t, mp_ptr); > > > >int __gmpn_fft_best_k (mp_size_t n, int sqr) __attribute__ ((const)); > > >int __gmpn_mul_fft (mp_ptr op, mp_size_t pl, mp_srcptr n, mp_size_t nl, mp_srcptr m, mp_size_t ml, int k); > > > > > >void __gmpn_mul_fft_full (mp_ptr op, mp_srcptr n, mp_size_t nl, mp_srcptr m, mp_size_t ml); > > > > >mp_size_t __gmpn_fft_next_size (mp_size_t pl, int k) __attribute__ ((const)); > > >mp_limb_t __gmpn_sb_divrem_mn (mp_ptr, mp_ptr, mp_size_t, mp_srcptr, mp_size_t); > > > >mp_limb_t __gmpn_dc_divrem_n (mp_ptr, mp_ptr, mp_srcptr, mp_size_t); > > > > > >void __gmpz_divexact_gcd (mpz_ptr q, mpz_srcptr a, mpz_srcptr d); > > > >size_t __gmpz_inp_str_nowhite (mpz_ptr x, FILE *stream, int base, int c, size_t nread); > > > >int __gmpn_divisible_p (mp_srcptr ap, mp_size_t asize, mp_srcptr dp, mp_size_t dsize) __attribute__ ((__pure__)); > > > >mp_size_t __gmpn_rootrem (mp_ptr, mp_ptr, mp_srcptr, mp_size_t, mp_limb_t); ># 1073 "../gmp-impl.h" > void __gmpn_copyi (mp_ptr, mp_srcptr, mp_size_t); ># 1126 "../gmp-impl.h" > void __gmpn_copyd (mp_ptr, mp_srcptr, mp_size_t); ># 1348 "../gmp-impl.h" > extern const mp_limb_t __gmp_fib_table[]; ># 1555 "../gmp-impl.h" >void __gmp_assert_header (const char *filename, int linenum); > void __gmp_assert_fail (const char *filename, int linenum, const char *expr) __attribute__ ((noreturn)); ># 2010 "../gmp-impl.h" >struct bases >{ > > > > int chars_per_limb; > > > double chars_per_bit_exactly; > > > > > mp_limb_t big_base; > > > > > mp_limb_t big_base_inverted; >}; > > > > extern const struct bases __gmpn_bases[257]; ># 2157 "../gmp-impl.h" >mp_limb_t __gmpn_invert_limb (mp_limb_t) __attribute__ ((const)); ># 2253 "../gmp-impl.h" >mp_limb_t __gmpn_preinv_divrem_1 (mp_ptr, mp_size_t, mp_srcptr, mp_size_t, mp_limb_t, mp_limb_t, int); ># 2287 "../gmp-impl.h" >mp_limb_t __gmpn_mod_34lsub1 (mp_srcptr, mp_size_t) __attribute__ ((__pure__)); ># 2305 "../gmp-impl.h" >void __gmpn_divexact_1 (mp_ptr, mp_srcptr, mp_size_t, mp_limb_t); ># 2321 "../gmp-impl.h" >mp_limb_t __gmpn_modexact_1c_odd (mp_srcptr src, mp_size_t size, mp_limb_t divisor, mp_limb_t c) __attribute__ ((__pure__)); > > > > > >mp_limb_t __gmpn_modexact_1_odd (mp_srcptr src, mp_size_t size, mp_limb_t divisor) __attribute__ ((__pure__)); ># 2361 "../gmp-impl.h" > extern const unsigned char __gmp_modlimb_invert_table[128]; ># 2810 "../gmp-impl.h" >typedef unsigned int UQItype __attribute__ ((mode (QI))); >typedef int SItype __attribute__ ((mode (SI))); >typedef unsigned int USItype __attribute__ ((mode (SI))); >typedef int DItype __attribute__ ((mode (DI))); >typedef unsigned int UDItype __attribute__ ((mode (DI))); ># 2828 "../gmp-impl.h" >typedef mp_limb_t UWtype; >typedef unsigned int UHWtype; ># 2861 "../gmp-impl.h" >union ieee_double_extract >{ > struct > { > gmp_uint_least32_t manl:32; > gmp_uint_least32_t manh:20; > gmp_uint_least32_t exp:11; > gmp_uint_least32_t sig:1; > } s; > double d; >}; ># 2897 "../gmp-impl.h" >int __gmp_extract_double (mp_ptr, double); > > >double __gmpn_get_d (mp_srcptr, mp_size_t, mp_size_t, long) __attribute__ ((__pure__)); ># 2969 "../gmp-impl.h" >extern int __gmp_junk; >extern const int __gmp_0; >void __gmp_exception (int) __attribute__ ((noreturn)); >void __gmp_divide_by_zero (void) __attribute__ ((noreturn)); >void __gmp_sqrt_of_negative (void) __attribute__ ((noreturn)); >void __gmp_invalid_operation (void) __attribute__ ((noreturn)); ># 3180 "../gmp-impl.h" >extern mp_size_t __gmp_default_fp_limb_precision; ># 3241 "../gmp-impl.h" >struct doprnt_params_t { > int base; > int conv; > const char *expfmt; > int exptimes4; > char fill; > int justify; > int prec; > int showbase; > int showpoint; > int showtrailing; > char sign; > int width; >}; ># 3371 "../gmp-impl.h" >typedef int (*gmp_doscan_scan_t) (void *, const char *, ...); >typedef void *(*gmp_doscan_step_t) (void *, int); >typedef int (*gmp_doscan_get_t) (void *); >typedef int (*gmp_doscan_unget_t) (int, void *); > >struct gmp_doscan_funs_t { > gmp_doscan_scan_t scan; > gmp_doscan_step_t step; > gmp_doscan_get_t get; > gmp_doscan_unget_t unget; >}; >extern const struct gmp_doscan_funs_t __gmp_fscanf_funs; >extern const struct gmp_doscan_funs_t __gmp_sscanf_funs; ># 3476 "../gmp-impl.h" >void __gmpn_cpuvec_init (void); ># 51 "rootrem.c" 2 ># 1 "../longlong.h" 1 ># 1595 "../longlong.h" >extern UWtype __gmpn_umul_ppmm (UWtype *, UWtype, UWtype); ># 1608 "../longlong.h" >extern UWtype __gmpn_umul_ppmm_r (UWtype, UWtype, UWtype *); ># 1621 "../longlong.h" >extern UWtype __gmpn_udiv_qrnnd (UWtype *, UWtype, UWtype, UWtype); ># 1635 "../longlong.h" >extern UWtype __gmpn_udiv_qrnnd_r (UWtype, UWtype, UWtype, UWtype *); ># 52 "rootrem.c" 2 > >mp_size_t >__gmpn_rootrem (mp_ptr rootp, mp_ptr remp, > mp_srcptr up, mp_size_t un, mp_limb_t nth) >{ > mp_ptr pp, qp, xp; > mp_size_t pn, xn, qn; > unsigned long int unb, xnb, bit; > unsigned int cnt; > mp_size_t i; > unsigned long int n_valid_bits, adj; > struct tmp_reentrant_t *__tmp_marker; > > __tmp_marker = 0; ># 76 "rootrem.c" > pp = ((mp_limb_t *) (__builtin_expect (((((2 + (mp_size_t) (un*1.585))) * sizeof (mp_limb_t)) < 65536) != 0, 1) ? __builtin_alloca (((2 + (mp_size_t) (un*1.585))) * sizeof (mp_limb_t)) : __gmp_tmp_reentrant_alloc (&__tmp_marker, ((2 + (mp_size_t) (un*1.585))) * sizeof (mp_limb_t)))); > > do { do {} while (0); (cnt) = __builtin_clzl (up[un - 1]); } while (0); > unb = un * (32 - 0) - cnt + 0; > > xnb = (unb - 1) / nth + 1; > if (xnb == 1) > { > if (remp == ((void *)0)) > remp = pp; > __gmpn_sub_1 (remp, up, un, (mp_limb_t) 1); > do { while ((un) > 0) { if ((remp)[(un) - 1] != 0) break; (un)--; } } while (0); > rootp[0] = 1; > do { if (__builtin_expect ((__tmp_marker != 0) != 0, 0)) __gmp_tmp_reentrant_free (__tmp_marker); } while (0); > return un; > } > > xn = (xnb + (32 - 0) - 1) / (32 - 0); > > qp = ((mp_limb_t *) (__builtin_expect (((((2 + (mp_size_t) (un*1.585))) * sizeof (mp_limb_t)) < 65536) != 0, 1) ? __builtin_alloca (((2 + (mp_size_t) (un*1.585))) * sizeof (mp_limb_t)) : __gmp_tmp_reentrant_alloc (&__tmp_marker, ((2 + (mp_size_t) (un*1.585))) * sizeof (mp_limb_t)))); > xp = ((mp_limb_t *) (__builtin_expect ((((xn + 1) * sizeof (mp_limb_t)) < 65536) != 0, 1) ? __builtin_alloca ((xn + 1) * sizeof (mp_limb_t)) : __gmp_tmp_reentrant_alloc (&__tmp_marker, (xn + 1) * sizeof (mp_limb_t)))); > > > > for (i = 0; i < xn; i++) > xp[i] = ((~ ((mp_limb_t) (0))) >> 0); > xp[xnb / (32 - 0)] = ((mp_limb_t) 1 << (xnb % (32 - 0))) - 1; > > > > bit = xnb - 2; > n_valid_bits = 0; > for (i = 0; (nth >> i) != 0; i++) > { > mp_limb_t xl = xp[bit / (32 - 0)]; > xp[bit / (32 - 0)] = xl ^ (mp_limb_t) 1 << bit % (32 - 0); > pn = __gmpn_pow_1 (pp, xp, xn, nth, qp); > do { if (!(pn < (2 + (mp_size_t) (un*1.585)))) __gmp_assert_fail ("rootrem.c", 113, "pn < (2 + (mp_size_t) (un*1.585))"); } while (0); > > if (! (un < pn || (un == pn && __gmpn_cmp (up, pp, pn) < 0))) > xp[bit / (32 - 0)] = xl; > n_valid_bits += 1; > if (bit == 0) > goto done; > bit--; > } > > adj = n_valid_bits - 1; > > > > > while (n_valid_bits <= xnb) > { > mp_limb_t cy; > > pn = __gmpn_pow_1 (pp, xp, xn, nth - 1, qp); > do { if (!(pn < (2 + (mp_size_t) (un*1.585)))) __gmp_assert_fail ("rootrem.c", 133, "pn < (2 + (mp_size_t) (un*1.585))"); } while (0); > qp[xn - 1] = 0; > __gmpn_tdiv_qr (qp, pp, (mp_size_t) 0, up, un, pp, pn); > cy = __gmpn_addmul_1 (qp, xp, xn, nth - 1); > if (un - pn == xn) > { > cy += qp[xn]; > if (cy == nth) > { > for (i = xn - 1; i >= 0; i--) > qp[i] = ((~ ((mp_limb_t) (0))) >> 0); > cy = nth - 1; > } > } > > qp[xn] = cy; > qn = xn + (cy != 0); > > __gmpn_divrem_1 (xp, (mp_size_t) 0, qp, qn, nth); > n_valid_bits = n_valid_bits * 2 - adj; > } > > > done: > pn = __gmpn_pow_1 (pp, xp, xn, nth, qp); > do { if (!(pn < (2 + (mp_size_t) (un*1.585)))) __gmp_assert_fail ("rootrem.c", 158, "pn < (2 + (mp_size_t) (un*1.585))"); } while (0); > if (un < pn || (un == pn && __gmpn_cmp (up, pp, pn) < 0)) > { > do { mp_ptr __ptr_dummy; if (__builtin_constant_p (1) && (1) == 1) { __asm__ __volatile__ ("\n" ".L" "asm_%=_" "top" ":\n" "\t" "subl" " $1, (%0)\n" "\tleal 4(%0),%0\n" "\tjc " ".L" "asm_%=_" "top" : "=r" (__ptr_dummy) : "0" (xp) : "memory"); } else { __asm__ __volatile__ ( "subl" " %2,(%0)\n" "\tjnc " ".L" "asm_%=_" "done" "\n" ".L" "asm_%=_" "top" ":\n" "\t" "subl" " $1,4(%0)\n" "\tleal 4(%0),%0\n" "\tjc " ".L" "asm_%=_" "top" "\n" ".L" "asm_%=_" "done" ":\n" : "=r" (__ptr_dummy) : "0" (xp), "ri" (1) : "memory"); } } while (0); > pn = __gmpn_pow_1 (pp, xp, xn, nth, qp); > do { if (!(pn < (2 + (mp_size_t) (un*1.585)))) __gmp_assert_fail ("rootrem.c", 163, "pn < (2 + (mp_size_t) (un*1.585))"); } while (0); > > do { if (!(! (un < pn || (un == pn && __gmpn_cmp (up, pp, pn) < 0)))) __gmp_assert_fail ("rootrem.c", 165, "! (un < pn || (un == pn && __gmpn_cmp (up, pp, pn) < 0))"); } while (0); > } > > if (remp == ((void *)0)) > remp = pp; > __gmpn_sub (remp, up, un, pp, pn); > do { while ((un) > 0) { if ((remp)[(un) - 1] != 0) break; (un)--; } } while (0); > do { do {} while (0); do { do {} while (0); do {} while (0); __gmpn_copyi (rootp, xp, xn); } while (0); } while (0); > do { if (__builtin_expect ((__tmp_marker != 0) != 0, 0)) __gmp_tmp_reentrant_free (__tmp_marker); } while (0); > return un; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 266897
: 188998