Changeset 7df7dc in git


Ignore:
Timestamp:
Feb 6, 2022, 4:13:51 PM (2 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
3ee006a5c95e63a43566c66506a72128b3c79f66
Parents:
55567a3a63e03547212343713b04aadd7a42212c
Message:
fix: p_Setm_General for ringorder_a64 on 64bit long
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/monomials/p_polys.cc

    r55567a r7df7dc  
    275275            }
    276276          }
     277          #if SIZEOF_LONG == 4
    277278          int64 mask=(int64)0x7fffffff;
    278279          long a_0=(long)(ord&mask); //2^31
     
    285286          p->exp[o->data.wp64.place]=a_1;
    286287          p->exp[o->data.wp64.place+1]=a_0;
     288          #elif SIZEOF_LONG == 8
     289          p->exp[o->data.wp64.place]=ord;
     290          #endif
    287291//            if(p_Setm_error) PrintS("***************************\n"
    288292//                                    "***************************\n"
Note: See TracChangeset for help on using the changeset viewer.