Changeset c00c08 in git for omalloc/mylimits.h.in


Ignore:
Timestamp:
May 17, 2001, 4:28:08 PM (23 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'e7cc1ebecb61be8b9ca6c18016352af89940b21a')
Children:
fab80c2a5687924ffbb7cc8d22e9420dc3dc26ce
Parents:
6bc0387cec951d062a258f06f99bc081f096f50e
Message:
*hannes: typos: mylimit.h.in


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

Legend:

Unmodified
Added
Removed
  • omalloc/mylimits.h.in

    r6bc038 rc00c08  
    55 *  Author:  hannes (Hans Schoenemann)
    66 *  Created: 03/01
    7  *  Version: $Id: mylimits.h.in,v 1.5 2001-04-30 09:01:59 Singular Exp $
     7 *  Version: $Id: mylimits.h.in,v 1.6 2001-05-17 14:28:08 Singular Exp $
    88 *******************************************************************/
    99#ifndef MYLIMITS_H
    10 #ifndef sgi
    1110#define MYLIMITS_H
    12 #endif
    1311/*******************************************************************
    1412 * Defines which are set by configure
     
    2119#define SIZEOF_DOUBLE 8
    2220/*
    23  *      ISO C Standard: 4.14/2.2.4.2 Limits of integral types   <limits.h>
     21 *    ISO C Standard: 4.14/2.2.4.2 Limits of integral types        <limits.h>
    2422 */
    2523
     
    2826
    2927/* maximum value a `signed short int' can hold.  */
    30 #define SHRT_MAX        32767
     28#define SHRT_MAX        32767
    3129
    3230/* Maximum value an `unsigned short int' can hold.  (Minimum is 0.)  */
    33 #define USHRT_MAX       65535
     31#define USHRT_MAX        65535
    3432
    3533/* Maximum/minimum value an `signed int' can hold. */
    36 #define INT_MAX 2147483647
     34#define INT_MAX        2147483647
    3735#define INT_MIN (-INT_MAX-1)
    3836
     
    4038/* Maximum value an `unsigned long int' can hold.  (Minimum is 0.)  */
    4139#if SIZEOF_LONG == 8
    42 # define LONG_MAX       9223372036854775807L
    43 # define ULONG_MAX      18446744073709551615UL
     40# define LONG_MAX        9223372036854775807L
     41# define ULONG_MAX      18446744073709551615UL
    4442#else
    45 # define LONG_MAX       2147483647L
     43# define LONG_MAX        2147483647L
    4644# ifdef __STDC__
    47 #  define ULONG_MAX     4294967295UL
     45#  define ULONG_MAX      4294967295UL
    4846# else
    49 #  define ULONG_MAX     4294967295L
     47#  define ULONG_MAX      4294967295L
    5048# endif
    5149#endif
    52 #define LONG_MIN        (-LONG_MAX - 1L)
     50#define LONG_MIN        (-LONG_MAX - 1L)
    5351
    5452#endif
Note: See TracChangeset for help on using the changeset viewer.