Changeset 40094f in git for libpolys/coeffs/longrat.h


Ignore:
Timestamp:
Jul 2, 2020, 10:22:19 AM (4 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
53acc46a104d727e78284f0fda06b0ac9460dfae
Parents:
45e2d2305421369847cac77695d8c7aedcbfa7e5
Message:
move SI_LOG2 to factory/si_log2.h
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/longrat.h

    r45e2d2 r40094f  
    1111#include "coeffs/si_gmp.h"
    1212#include "coeffs/coeffs.h"
     13#include "factory/si_log2.h"
    1314
    1415number   nlGetDenom(number &n, const coeffs r); /*for SAGE,, better: n_GetDenom */
     
    8384    unsigned long v;
    8485    v = ABS(i);
    85     return SI_LOG2(v) + 1;
     86    return SI_LOG2_LONG(v) + 1;
    8687  }
    8788  //assume denominator is 0
Note: See TracChangeset for help on using the changeset viewer.