Changeset e784726 in git


Ignore:
Timestamp:
Sep 28, 2004, 6:04:45 PM (20 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
513817ed224c93a01fa0f0e0e6cae37f119ff6b7
Parents:
7163357fd8b5b3eed39e909b5ad5a53d3c79bbb6
Message:
*hannes: 64bit stuff


git-svn-id: file:///usr/local/Singular/svn/trunk@7501 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/pInline2.h

    r716335 re784726  
    77 *  Author:  obachman (Olaf Bachmann)
    88 *  Created: 8/00
    9  *  Version: $Id: pInline2.h,v 1.2 2004-08-27 12:20:40 Singular Exp $
     9 *  Version: $Id: pInline2.h,v 1.3 2004-09-28 16:04:45 Singular Exp $
    1010 *******************************************************************/
    1111#ifndef PINLINE2_H
     
    4848    {
    4949      case ro_wp_neg:
    50         return (((long)((p)->exp[r->pOrdIndex]))-((long) POLY_NEGWEIGHT_OFFSET));
     50        return (((long)((p)->exp[r->pOrdIndex]))-POLY_NEGWEIGHT_OFFSET);
    5151      case ro_syzcomp:
    5252      case ro_syz:
  • kernel/polys-impl.h

    r716335 re784726  
    44*  Computer Algebra System SINGULAR     *
    55****************************************/
    6 /* $Id: polys-impl.h,v 1.1.1.1 2003-10-06 12:16:01 Singular Exp $ */
     6/* $Id: polys-impl.h,v 1.2 2004-09-28 16:04:45 Singular Exp $ */
    77
    88/***************************************************************
     
    4040#define POLYSIZE (sizeof(poly) + sizeof(number))
    4141#define POLYSIZEW (POLYSIZE / sizeof(long))
    42 #define POLY_NEGWEIGHT_OFFSET 0x80000000
     42#if SIZEOF_LONG == 8
     43#define POLY_NEGWEIGHT_OFFSET (((long)0x80000000) << 32)
     44#else
     45#define POLY_NEGWEIGHT_OFFSET ((long)0x80000000)
     46#endif
     47
    4348
    4449/***************************************************************
Note: See TracChangeset for help on using the changeset viewer.