Changeset ce89df in git
- Timestamp:
- Jan 16, 2006, 3:03:43 PM (18 years ago)
- Branches:
- (u'spielwiese', '2fa36c576e6a4ddbb1093b43c7f8e9835e17e52a')
- Children:
- 0fc69f372f22a94d3c3c8cc9adca6e73d222c8b4
- Parents:
- a09a42651e0dd8b72280f4c56852b3c56371623e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/modulop.h
ra09a42 rce89df 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: modulop.h,v 1. 2 2005-11-02 08:39:36Singular Exp $ */6 /* $Id: modulop.h,v 1.3 2006-01-16 14:03:43 Singular Exp $ */ 7 7 /* 8 8 * ABSTRACT: numbers modulo p (<=32003) … … 91 91 { 92 92 long x = (long)npLogTable[(long)a]+npLogTable[(long)b]; 93 return (number) npExpTable[x<npPminus1M ? x : x-npPminus1M];93 return (number)(long)npExpTable[x<npPminus1M ? x : x-npPminus1M]; 94 94 } 95 95 #endif
Note: See TracChangeset
for help on using the changeset viewer.