Changeset 1110 for Whitix

Show
Ignore:
Timestamp:
10/14/08 18:10:55 (1 month ago)
Author:
mwhitworth
Message:

Add to GMP and MPFR stubs.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/branches/keobject/user/posix/gmp/temp.c

    r914 r1110  
    8484} 
    8585 
    86 __gmp_const char * __gmp_const gmp_version = "Testing"; 
     86__gmp_const char * __gmp_const gmp_version = "4.2.3"; 
    8787 
    8888int __popcountsi2(int a) 
     
    9494__MPFR_DECLSPEC __gmp_const char * mpfr_get_version _MPFR_PROTO ((void)) 
    9595{ 
    96         printf("mpfr_get_version\n"); 
     96        return "2.3.1"; 
    9797} 
    9898 
     
    377377}            
    378378 
     379__GMP_DECLSPEC void __gmpz_neg __GMP_PROTO ((mpz_ptr a, mpz_srcptr b)) 
     380{ 
     381        printf("mpz_neg\n"); 
     382}     
    379383__MPFR_DECLSPEC int mpfr_y0 _MPFR_PROTO ((mpfr_ptr a, mpfr_srcptr b, mpfr_rnd_t c)) 
    380384{