Changeset ce89df in git for kernel/modulop.h


Ignore:
Timestamp:
Jan 16, 2006, 3:03:43 PM (18 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
0fc69f372f22a94d3c3c8cc9adca6e73d222c8b4
Parents:
a09a42651e0dd8b72280f4c56852b3c56371623e
Message:
*hannes: 64bit port


git-svn-id: file:///usr/local/Singular/svn/trunk@8907 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/modulop.h

    ra09a42 rce89df  
    44*  Computer Algebra System SINGULAR     *
    55****************************************/
    6 /* $Id: modulop.h,v 1.2 2005-11-02 08:39:36 Singular Exp $ */
     6/* $Id: modulop.h,v 1.3 2006-01-16 14:03:43 Singular Exp $ */
    77/*
    88* ABSTRACT: numbers modulo p (<=32003)
     
    9191{
    9292  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];
    9494}
    9595#endif
Note: See TracChangeset for help on using the changeset viewer.