aboutsummaryrefslogtreecommitdiff
path: root/lib/std/math/big/int.zig
AgeCommit message (Expand)Author
2021-10-25Revert 83bdbb2 and a587dd0 (#10028)Robin Voetter
2021-10-24big ints: tighten some more division memory requirementsRobin Voetter
2021-10-24big ints: Make calcLimbLen always work at comptime, even if parameter is runtimeRobin Voetter
2021-10-24big ints: fix divFloorRobin Voetter
2021-10-24big ints: improve divisionRobin Voetter
2021-10-21stage2: more division supportAndrew Kelley
2021-10-21stage2: truncationRobin Voetter
2021-10-17big.int: 2s-complement binary wrapping notRobin Voetter
2021-10-16big ints: Fix set(signed int minimum) panicRobin Voetter
2021-10-16big ints: Saturating left shift + testsRobin Voetter
2021-10-04stage2: fix comptime `@bitCast`Andrew Kelley
2021-10-04fmtRobin Voetter
2021-10-04Apply new big int wrap/saturate to Value.zigRobin Voetter
2021-10-04big ints: Some extra commentsRobin Voetter
2021-10-04big ints: saturate() functionRobin Voetter
2021-10-04big ints: Wrapping multiplicationRobin Voetter
2021-10-04big ints: Allow llmulaccum to wrapRobin Voetter
2021-10-04big ints: Improve karatsuba multiplicationRobin Voetter
2021-10-04big ints: implement normal/wrapping/saturating subtraction in terms of additionRobin Voetter
2021-10-04big ints: saturating additionRobin Voetter
2021-10-04big ints: setTwosCompIntLimitRobin Voetter
2021-10-04big ints: unify add/sub with their wrapping variantsRobin Voetter
2021-10-04big ints: Basic wrapping multiplicationRobin Voetter
2021-10-04Comptime wrapping addition/subtractionRobin Voetter
2021-10-04big ints: addWrap, subWrap + fix Managed.truncate allocation sizeRobin Voetter
2021-10-04big ints: 2s complement truncateRobin Voetter
2021-10-04big ints: split lladd/llsub into carry variantsRobin Voetter
2021-09-23big ints: only write xor overflow if requiredRobin Voetter
2021-09-23big ints: 2s complement signed and + or fixesRobin Voetter
2021-09-23big ints: 2s complement signed orRobin Voetter
2021-09-22big ints: 2s complement signed xorRobin Voetter
2021-09-20stage2: implement comptime bitwise nandAndrew Kelley
2021-09-01std: reorganization that allows new usingnamespace semanticsAndrew Kelley
2021-08-24remove redundant license headers from zig standard libraryAndrew Kelley
2021-06-21fix code broken from previous commitJacob G-W
2021-06-21std, src, doc, test: remove unused variablesJacob G-W
2021-06-11bigint: add ensureAdd(Scalar)Capacity, note aliasing requirementsAsherah Connor
2021-06-11bigint: use a stack local here to prevent aliasing issuesAsherah Connor
2021-06-10Have std.fmt functions take case as an enumdaurnimator
2021-02-21replace ArrayList.shrinkAndFree by ArrayList.shrinkRetainingCapacityBenjamin Graf
2021-02-01std/math/big/int: normalize after a right shiftFrank Denis
2021-01-22std: Update `test ""` to `test` where it makes senseLemonBoy
2021-01-06std: Rename ArrayList shrink => shrinkAndFreeAlex Cameron
2020-12-31Year++Frank Denis
2020-11-19Add builtin.Signedness, use it instead of is_signedTadeo Kondrak
2020-10-17Make std.meta.Int accept a signedness parameterJan Prudil
2020-10-09std: Add/Fix/Change parts of big.intLemonBoy
2020-10-05std: Fix two bugs in bigint powLemonBoy
2020-10-04std: Add pow(a,b) for big intsLemonBoy
2020-09-07big int: fix Managed.dump()Vincent Rischmann