Changeset 6fcb1b3 in git for libpolys/misc


Ignore:
Timestamp:
Feb 23, 2012, 11:00:04 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
7347dfb614641b54c125074951559ca8b65b5ea3
Parents:
1a9dc5ff3e8396b7eb0f03fb0ee57fdcae4a5c74
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-23 23:00:04+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-24 16:11:23+01:00
Message:
fixing 32bit via 64bit issues

fix: removed typedef for long64 from ring.h as it duplicates the same block in auxiliary.h!

TODO: fixing mylimits.h leads to lots of errors in runtime (ring:bitmask gets -1L!!?)
Location:
libpolys/misc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/misc/Makefile.am

    r1a9dc5 r6fcb1b3  
    2222
    2323libmisc_includedir = $(includedir)/singular/misc
    24 libmisc_include_HEADERS = mylimits.h options.h intvec.h int64vec.h auxiliary.h
     24libmisc_include_HEADERS = mylimits.h options.h intvec.h int64vec.h
     25nodist_libmisc_include_HEADERS = auxiliary.h
    2526
    2627nodist_libmisc_la_SOURCES   = auxiliary.h
  • libpolys/misc/mylimits.h

    r1a9dc5 r6fcb1b3  
    2121
    2222
     23// #define ULONG_MAX (~0UL) // ??
    2324#define ULONG_MAX (~0L)
    2425
     26// TODO: fixing the following BUG (!?) leads to wrong ring::bitmask
     27// #if ~0UL != 4294967295UL
    2528#if ~0UL == 4294967295UL
    2629#define LONG_MAX 9223372036854775807L
Note: See TracChangeset for help on using the changeset viewer.