RBIGNUM_SIGN 62 bignum.c if (RBIGNUM_SIGN(val)) return 1; RBIGNUM_SIGN 139 bignum.c VALUE z = bignew_1(CLASS_OF(x), RBIGNUM_LEN(x), RBIGNUM_SIGN(x)); RBIGNUM_SIGN 198 bignum.c if (RBIGNUM_SIGN(x)) { RBIGNUM_SIGN 300 bignum.c if (!RBIGNUM_SIGN(val)) q = -q; RBIGNUM_SIGN 363 bignum.c if (!RBIGNUM_SIGN(val)) { RBIGNUM_SIGN 942 bignum.c ptr[0] = RBIGNUM_SIGN(x) ? '+' : '-'; RBIGNUM_SIGN 948 bignum.c off = !(trim && RBIGNUM_SIGN(x)); /* erase plus sign if trim */ RBIGNUM_SIGN 1026 bignum.c if (!RBIGNUM_SIGN(x)) { RBIGNUM_SIGN 1037 bignum.c if (!RBIGNUM_SIGN(x)) { RBIGNUM_SIGN 1052 bignum.c (RBIGNUM_SIGN(x) || (SIGNED_VALUE)num != LONG_MIN)) { RBIGNUM_SIGN 1055 bignum.c if (!RBIGNUM_SIGN(x)) return -(SIGNED_VALUE)num; RBIGNUM_SIGN 1084 bignum.c if (!RBIGNUM_SIGN(x)) return -num; RBIGNUM_SIGN 1093 bignum.c if ((LONG_LONG)num < 0 && (RBIGNUM_SIGN(x) RBIGNUM_SIGN 1097 bignum.c if (!RBIGNUM_SIGN(x)) return -(LONG_LONG)num; RBIGNUM_SIGN 1200 bignum.c if (!RBIGNUM_SIGN(x)) d = -d; RBIGNUM_SIGN 1261 bignum.c if (RBIGNUM_SIGN(x) > RBIGNUM_SIGN(y)) return INT2FIX(1); RBIGNUM_SIGN 1262 bignum.c if (RBIGNUM_SIGN(x) < RBIGNUM_SIGN(y)) return INT2FIX(-1); RBIGNUM_SIGN 1264 bignum.c return (RBIGNUM_SIGN(x)) ? INT2FIX(-1) : INT2FIX(1); RBIGNUM_SIGN 1266 bignum.c return (RBIGNUM_SIGN(x)) ? INT2FIX(1) : INT2FIX(-1); RBIGNUM_SIGN 1271 bignum.c (RBIGNUM_SIGN(x) ? INT2FIX(1) : INT2FIX(-1)) : RBIGNUM_SIGN 1272 bignum.c (RBIGNUM_SIGN(x) ? INT2FIX(-1) : INT2FIX(1)); RBIGNUM_SIGN 1307 bignum.c if (RBIGNUM_SIGN(x) != RBIGNUM_SIGN(y)) return Qfalse; RBIGNUM_SIGN 1328 bignum.c if (RBIGNUM_SIGN(x) != RBIGNUM_SIGN(y)) return Qfalse; RBIGNUM_SIGN 1346 bignum.c RBIGNUM_SET_SIGN(z, !RBIGNUM_SIGN(x)); RBIGNUM_SIGN 1370 bignum.c if (!RBIGNUM_SIGN(x)) get2comp(z); RBIGNUM_SIGN 1377 bignum.c RBIGNUM_SET_SIGN(z, !RBIGNUM_SIGN(z)); RBIGNUM_SIGN 1378 bignum.c if (RBIGNUM_SIGN(x)) get2comp(z); RBIGNUM_SIGN 1436 bignum.c sign = (sign == RBIGNUM_SIGN(y)); RBIGNUM_SIGN 1437 bignum.c if (RBIGNUM_SIGN(x) != sign) { RBIGNUM_SIGN 1587 bignum.c bms.z = bignew(RBIGNUM_LEN(x) + RBIGNUM_LEN(y) + 1, RBIGNUM_SIGN(x)==RBIGNUM_SIGN(y)); RBIGNUM_SIGN 1693 bignum.c RBIGNUM_SET_SIGN(z, RBIGNUM_SIGN(x)==RBIGNUM_SIGN(y)); RBIGNUM_SIGN 1696 bignum.c RBIGNUM_SET_SIGN(*modp, RBIGNUM_SIGN(x)); RBIGNUM_SIGN 1701 bignum.c z = bignew(nx==ny?nx+2:nx+1, RBIGNUM_SIGN(x)==RBIGNUM_SIGN(y)); RBIGNUM_SIGN 1773 bignum.c RBIGNUM_SET_SIGN(*modp, RBIGNUM_SIGN(x)); RBIGNUM_SIGN 1784 bignum.c if (RBIGNUM_SIGN(x) != RBIGNUM_SIGN(y) && !BIGZEROP(mod)) { RBIGNUM_SIGN 2174 bignum.c if (!RBIGNUM_SIGN(y)) { RBIGNUM_SIGN 2178 bignum.c if (!RBIGNUM_SIGN(x)) { RBIGNUM_SIGN 2187 bignum.c sign = RBIGNUM_SIGN(y); RBIGNUM_SIGN 2194 bignum.c sign = RBIGNUM_SIGN(x); RBIGNUM_SIGN 2196 bignum.c z = bignew(l2, RBIGNUM_SIGN(x) || RBIGNUM_SIGN(y)); RBIGNUM_SIGN 2205 bignum.c if (!RBIGNUM_SIGN(z)) get2comp(z); RBIGNUM_SIGN 2230 bignum.c if (!RBIGNUM_SIGN(y)) { RBIGNUM_SIGN 2234 bignum.c if (!RBIGNUM_SIGN(x)) { RBIGNUM_SIGN 2243 bignum.c sign = RBIGNUM_SIGN(y); RBIGNUM_SIGN 2250 bignum.c sign = RBIGNUM_SIGN(x); RBIGNUM_SIGN 2252 bignum.c z = bignew(l2, RBIGNUM_SIGN(x) && RBIGNUM_SIGN(y)); RBIGNUM_SIGN 2261 bignum.c if (!RBIGNUM_SIGN(z)) get2comp(z); RBIGNUM_SIGN 2288 bignum.c if (!RBIGNUM_SIGN(y)) { RBIGNUM_SIGN 2292 bignum.c if (!RBIGNUM_SIGN(x)) { RBIGNUM_SIGN 2301 bignum.c sign = RBIGNUM_SIGN(y); RBIGNUM_SIGN 2308 bignum.c sign = RBIGNUM_SIGN(x); RBIGNUM_SIGN 2310 bignum.c RBIGNUM_SET_SIGN(x, RBIGNUM_SIGN(x)?1:0); RBIGNUM_SIGN 2311 bignum.c RBIGNUM_SET_SIGN(y, RBIGNUM_SIGN(y)?1:0); RBIGNUM_SIGN 2312 bignum.c z = bignew(l2, !(RBIGNUM_SIGN(x) ^ RBIGNUM_SIGN(y))); RBIGNUM_SIGN 2321 bignum.c if (!RBIGNUM_SIGN(z)) get2comp(z); RBIGNUM_SIGN 2331 bignum.c return RBIGNUM_SIGN(x) ? INT2FIX(0) : INT2FIX(-1); RBIGNUM_SIGN 2359 bignum.c if (!RBIGNUM_SIGN(y)) { RBIGNUM_SIGN 2385 bignum.c z = bignew(len+s1+1, RBIGNUM_SIGN(x)); RBIGNUM_SIGN 2423 bignum.c if (RBIGNUM_SIGN(y)) { RBIGNUM_SIGN 2452 bignum.c if (RBIGNUM_SIGN(x)) RBIGNUM_SIGN 2457 bignum.c if (!RBIGNUM_SIGN(x)) { RBIGNUM_SIGN 2464 bignum.c if (RBIGNUM_SIGN(x)) return INT2FIX(0); RBIGNUM_SIGN 2467 bignum.c z = bignew(j, RBIGNUM_SIGN(x)); RBIGNUM_SIGN 2468 bignum.c if (!RBIGNUM_SIGN(x)) { RBIGNUM_SIGN 2477 bignum.c if (!RBIGNUM_SIGN(x)) { RBIGNUM_SIGN 2511 bignum.c if (!RBIGNUM_SIGN(y)) RBIGNUM_SIGN 2515 bignum.c return RBIGNUM_SIGN(x) ? INT2FIX(0) : INT2FIX(1); RBIGNUM_SIGN 2528 bignum.c if (!RBIGNUM_SIGN(x)) { RBIGNUM_SIGN 2555 bignum.c hash = rb_memhash(BDIGITS(x), sizeof(BDIGIT)*RBIGNUM_LEN(x)) ^ RBIGNUM_SIGN(x); RBIGNUM_SIGN 2592 bignum.c if (!RBIGNUM_SIGN(x)) { RBIGNUM_SIGN 745 include/ruby/ruby.h #define RBIGNUM_POSITIVE_P(b) RBIGNUM_SIGN(b) RBIGNUM_SIGN 746 include/ruby/ruby.h #define RBIGNUM_NEGATIVE_P(b) (!RBIGNUM_SIGN(b)) RBIGNUM_SIGN 669 marshal.c char sign = RBIGNUM_SIGN(obj) ? '+' : '-'; RBIGNUM_SIGN 2803 numeric.c if (!RBIGNUM_SIGN(idx) || val >= 0) RBIGNUM_SIGN 501 random.c if (!RBIGNUM_SIGN(limit)) { RBIGNUM_SIGN 849 sprintf.c if (!RBIGNUM_SIGN(val)) { RBIGNUM_SIGN 853 sprintf.c tmp1 = tmp = rb_big2str0(val, base, RBIGNUM_SIGN(val)); RBIGNUM_SIGN 939 sprintf.c if (!sign && bignum && !RBIGNUM_SIGN(val))