pike.git / src / bignum.c

version» Context lines:

pike.git/src/bignum.c:130:   }      #ifdef INT64   /* These routines can be made much more optimized. */      #define BIGNUM_INT64_MASK 0xffff   #define BIGNUM_INT64_SHIFT 16      PMOD_EXPORT void push_int64(INT64 i)   { -  if(i == (INT_TYPE)i) +  if(i == DO_NOT_WARN((INT_TYPE)i))    { -  push_int((INT_TYPE)i); +  push_int(DO_NOT_WARN((INT_TYPE)i));    }    else    {    int neg, pos, lshfun, orfun;       neg = (i < 0);       if(neg)    i = ~i;    -  push_int(i & BIGNUM_INT64_MASK); +  push_int(DO_NOT_WARN(i & BIGNUM_INT64_MASK));    i >>= BIGNUM_INT64_SHIFT;    convert_stack_top_to_bignum();       lshfun = FIND_LFUN(sp[-1].u.object->prog, LFUN_LSH);    orfun = FIND_LFUN(sp[-1].u.object->prog, LFUN_OR);       for(pos = BIGNUM_INT64_SHIFT; i; pos += BIGNUM_INT64_SHIFT)    { -  push_int(i & BIGNUM_INT64_MASK); +  push_int(DO_NOT_WARN(i & BIGNUM_INT64_MASK));    i >>= BIGNUM_INT64_SHIFT;    convert_stack_top_to_bignum();       push_int(pos);    apply_low(sp[-2].u.object, lshfun, 1);    stack_swap();    pop_stack();       apply_low(sp[-2].u.object, orfun, 1);    stack_swap();