Changeset c62f38 in git
- Timestamp:
- Sep 10, 1997, 5:42:11 PM (27 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 05ac04bd3fd4c6b3288c88b5738ffcaafc564ad9
- Parents:
- b24b3181881121ebbc5ff6ff35f083abece0c729
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/int_int.cc
rb24b318 rc62f38 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: int_int.cc,v 1. 5 1997-07-16 10:18:46schmidt Exp $ */2 /* $Id: int_int.cc,v 1.6 1997-09-10 15:42:11 schmidt Exp $ */ 3 3 4 4 #include <config.h> … … 758 758 } 759 759 760 int InternalInteger::sign ( ) const 761 { 762 return mpz_cmp_si( &thempi, 0 ); 763 } 760 //{{{ int InternalInteger::sign () const 761 // docu: see CanonicalForm::sign() 762 int 763 InternalInteger::sign () const 764 { 765 return mpz_sgn( &thempi ); 766 } 767 //}}} 764 768 765 769 InternalCF*
Note: See TracChangeset
for help on using the changeset viewer.