Changeset a4c74f in git for Singular/ffields.cc


Ignore:
Timestamp:
Jul 16, 1999, 6:07:22 PM (24 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'a7324b6e0b44a1a8ed3fa4d9ca3e2ff210ddd52c')
Children:
86050ee275fe1a82d0ab4c97fb6fa4560231a142
Parents:
cedc3f5ddbba05d8f7f30511c0afe931d1b91fd5
Message:
* hanens: optimized int-reading


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

Legend:

Unmodified
Added
Removed
  • Singular/ffields.cc

    rcedc3f ra4c74f  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ffields.cc,v 1.19 1999-05-10 15:10:48 Singular Exp $ */
     4/* $Id: ffields.cc,v 1.20 1999-07-16 16:07:18 Singular Exp $ */
    55/*
    66* ABSTRACT: finite fields with a none-prime number of elements (via tables)
     
    487487      *i *= 10;
    488488      *i += *s++ - '0';
    489       if (*i > (INT_MAX / 10)) *i = *i % nfCharP;
     489      if (*i > (MAX_INT_VAL / 10)) *i = *i % nfCharP;
    490490    }
    491491    while (*s >= '0' && *s <= '9');
Note: See TracChangeset for help on using the changeset viewer.