Home
last modified time | relevance | path

Searched refs:BigUint (Results 1 – 4 of 4) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/internal/math/
H A Dbiguintcore.d96 struct BigUint struct
199 void opAssign(Tdummy = void)(BigUint y) pure nothrow @nogc @safe argument
205 int opCmp(Tdummy = void)(const BigUint y) pure nothrow @nogc const @safe
242 bool opEquals(Tdummy = void)(ref const BigUint y) pure nothrow @nogc const @safe argument
460 BigUint opShr(Tulong)(Tulong y) pure nothrow const if (is (Tulong == ulong))
464 if ((y >> LG2BIGDIGITBITS) >= data.length) return BigUint(ZERO); argument
468 return BigUint(data[words..$]); argument
476 return BigUint(trustedAssumeUnique(result[0 .. $-1]));
478 return BigUint(trustedAssumeUnique(result));
483 BigUint opShl(Tulong)(Tulong y) pure nothrow const if (is (Tulong == ulong))
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/internal/math/
H A Dbiguintcore.d237 struct BigUint
342 void opAssign(Tdummy = void)(BigUint y) pure nothrow @nogc @safe scope
348 int opCmp(Tdummy = void)(const BigUint y) pure nothrow @nogc const @safe scope
385 bool opEquals(Tdummy = void)(ref const BigUint y) pure nothrow @nogc const @safe scope
684 BigUint b;
713 BigUint opBinary(string op, Tulong)(Tulong y) pure nothrow @safe const return scope
718 if ((y >> LG2BIGDIGITBITS) >= data.length) return BigUint(ZERO);
722 return BigUint(data[words..$]);
730 return BigUint(trustedAssumeUnique(result[0 .. $-1]));
732 return BigUint(trustedAssumeUnique(result));
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dbigint.d49 BigUint data; // BigInt adds signed arithmetic to BigUint.
222 data = BigUint.addOrSubInt(data, u, sign != (y<0), sign);
226 data = BigUint.addOrSubInt(data, u, sign == (y<0), sign);
238 data = BigUint.mulInt(data, u);
246 data = BigUint.divInt(data, cast(uint) u);
250 data = BigUint.divInt(data, u);
263 data = cast(ulong) BigUint.modInt(data, cast(uint) u);
290 data = BigUint.pow(data, u);
323 data = BigUint.addOrSub(data, y.data, sign != y.sign, &sign);
327 data = BigUint.addOrSub(data, y.data, sign == y.sign, &sign);
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dbigint.d51 BigUint data; // BigInt adds signed arithmetic to BigUint.
257 data = BigUint.addOrSubInt(data, u, sign != (y<0), sign);
261 data = BigUint.addOrSubInt(data, u, sign == (y<0), sign);
273 data = BigUint.mulInt(data, u);
281 data = BigUint.divInt(data, cast(uint) u);
285 data = BigUint.divInt(data, u);
298 data = cast(ulong) BigUint.modInt(data, cast(uint) u);
326 data = BigUint.pow(data, u);
423 data = BigUint.addOrSub(data, y.data, sign != y.sign, sign);
427 data = BigUint.addOrSub(data, y.data, sign == y.sign, sign);
[all …]