Changeset c1784d in git for factory/imm.h


Ignore:
Timestamp:
Apr 14, 1998, 5:15:29 PM (26 years ago)
Author:
Wilfred Pohl <pohl@…>
Branches:
(u'spielwiese', '73c62e0961bcfc8f1a00420b41eec2ea3c0ef6e9')
Children:
9388d44d66568ee4423a1b5b0cb6898306a4928b
Parents:
c41230e528f2fd8acea402910a80fb248bf9461c
Message:
version for Metrowerks


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

Legend:

Unmodified
Added
Removed
  • factory/imm.h

    rc41230 rc1784d  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: imm.h,v 1.12 1997-12-17 11:10:02 schmidt Exp $ */
     2/* $Id: imm.h,v 1.13 1998-04-14 15:15:29 pohl Exp $ */
    33
    44#ifndef INCL_IMM_H
     
    2727const int MINIMMEDIATE = -268435454; // -2^28-2
    2828const int MAXIMMEDIATE = 268435454;  // 2^28-2
    29 #ifdef macintosh
    30 const INT64 MINIMMEDIATELL = -268435454;
    31 const INT64 MAXIMMEDIATELL = 268435454;
    32 #elif defined WINNT
     29#ifndef __MWERKS__
     30#ifdef WINNT
    3331const INT64 MINIMMEDIATELL = -268435454i64;
    3432const INT64 MAXIMMEDIATELL = 268435454i64;
     
    3634const INT64 MINIMMEDIATELL = -268435454LL;
    3735const INT64 MAXIMMEDIATELL = 268435454LL;
     36#endif
    3837#endif
    3938
     
    268267}
    269268
     269#ifdef __MWERKS__
     270InternalCF * imm_mul ( InternalCF * lhs, InternalCF * rhs );
     271#else
    270272inline InternalCF * imm_mul ( InternalCF * lhs, InternalCF * rhs )
    271273{
     
    278280        return int2imm( (int)result );
    279281}
     282#endif
    280283
    281284inline InternalCF * imm_mul_p ( const InternalCF * const lhs, const InternalCF * const rhs )
Note: See TracChangeset for help on using the changeset viewer.