Changeset fd68165 in git for factory/ffops.h
- Timestamp:
- Nov 7, 2013, 6:42:08 PM (9 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- bebd13f12467d52870735cd4cfae940241fef019
- Parents:
- 4a4593a9cc860e3c2819808ef08faab1b9a48009
- git-author:
- Janko Boehm <boehm@mathematik.uni-kl.de>2013-11-07 18:42:08+01:00
- git-committer:
- Janko Boehm <boehm@mathematik.uni-kl.de>2013-11-07 18:46:02+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/ffops.h
r4a4593a rfd68165 12 12 13 13 /* define type of your compilers 64 bit integer type */ 14 #ifndef INT6415 #define INT64 long long int14 #ifndef FACTORY_INT64 15 #define FACTORY_INT64 long long int 16 16 #endif 17 17 … … 77 77 } 78 78 79 inline int ff_bignorm ( const INT64 a )79 inline int ff_bignorm ( const FACTORY_INT64 a ) 80 80 { 81 int n = (int)(a % ( INT64)ff_prime);81 int n = (int)(a % (FACTORY_INT64)ff_prime); 82 82 #if defined(i386) || defined(NTL_AVOID_BRANCHING) 83 83 n += (n >> 31) & ff_prime; … … 134 134 { 135 135 if ( ff_big ) 136 return ff_bignorm( ( INT64)a * (INT64)b );136 return ff_bignorm( (FACTORY_INT64)a * (FACTORY_INT64)b ); 137 137 else 138 138 return ff_longnorm ( (long)a * (long)b );
Note: See TracChangeset
for help on using the changeset viewer.