Changeset b71400a in git for gfanlib/gfanlib_z.h
- Timestamp:
- Sep 15, 2014, 11:08:21 AM (10 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
- Children:
- dffd1541cc74564f509bd5d284948852484430b0
- Parents:
- 9c03260ac0404405e4994f73b30ef46f079535d8
- git-author:
- Yue Ren <ren@mathematik.uni-kl.de>2014-09-15 11:08:21+02:00
- git-committer:
- Yue Ren <ren@mathematik.uni-kl.de>2015-02-06 13:47:05+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gfanlib/gfanlib_z.h
r9c0326 rb71400a 10 10 11 11 #include <string.h> 12 #include <iostream> 12 13 #include <ostream> 13 14 … … 68 69 freefunc(str,strlen(str)+1); 69 70 return f; 71 } 72 void debugPrint() const 73 { 74 void (*freefunc)(void *, size_t); 75 mp_get_memory_functions(0,0,&freefunc); 76 char *str=mpz_get_str(0,10,value); 77 std::cout << str; 78 freefunc(str,strlen(str)+1); 79 return; 70 80 } 71 81 Integer& operator+=(const Integer& a) … … 330 340 return f; 331 341 } 342 friend void debugPrint(IntegerTemplate const &a) 343 { 344 std::cout << a << std::endl; 345 return; 346 } 332 347 LimbWord signExtension(LimbWord a) 333 348 {
Note: See TracChangeset
for help on using the changeset viewer.