Changeset 35ee46c in git for Singular/iparith.cc
- Timestamp:
- Jan 18, 2007, 11:31:37 AM (17 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- b533b3485b6a73ce0d27992c22e0a15f371e296c
- Parents:
- 60dfdc97489d07341b6d2a1dc70c68564a3a77fc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iparith.cc
r60dfdc r35ee46c 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: iparith.cc,v 1.43 6 2007-01-16 18:20:04Singular Exp $ */4 /* $Id: iparith.cc,v 1.437 2007-01-18 10:31:37 Singular Exp $ */ 5 5 6 6 /* … … 3827 3827 } 3828 3828 #if SIZEOF_LONG == 8 3829 static number jjLONG2N(long d); 3829 static number jjLONG2N(long d) 3830 { 3831 int i=(int)d; 3832 if ((long)i == d) 3833 { 3834 return nlInit(i); 3835 } 3836 else 3837 { 3838 number z=(number)omAllocBin(rnumber_bin); 3839 #if defined(LDEBUG) 3840 z->debug=123456; 3841 #endif 3842 mpz_init_set_si(&z->z,d); 3843 return z; 3844 } 3845 } 3830 3846 #else 3831 3847 #define jjLONG2N(D) nlInit((int)D)
Note: See TracChangeset
for help on using the changeset viewer.