Changeset ede528 in git
- Timestamp:
- Sep 10, 1997, 5:46:21 PM (26 years ago)
- Branches:
- (u'spielwiese', 'd1b01e9d51ade4b46b745d3bada5c5f3696be3a8')
- Children:
- 49a0f469454e4930fefe879ebd3811bd145c92ae
- Parents:
- b761b9bd513a1376d632a6fdebb102ed20df5d4a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/int_rat.cc
rb761b9 rede528 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: int_rat.cc,v 1. 4 1997-09-09 09:03:37schmidt Exp $ */2 /* $Id: int_rat.cc,v 1.5 1997-09-10 15:46:21 schmidt Exp $ */ 3 3 4 4 #include <config.h> … … 725 725 // } 726 726 727 int InternalRational::sign ( ) const 728 { 729 return mpz_cmp_si( &_num, 0 ); 730 } 727 //{{{ int InternalRational::sign () const 728 // docu: see CanonicalForm::sign() 729 int 730 InternalRational::sign () const 731 { 732 return mpz_sgn( &_num ); 733 } 734 //}}}
Note: See TracChangeset
for help on using the changeset viewer.