aboutsummaryrefslogtreecommitdiff
path: root/lib/std/math/big
AgeCommit message (Expand)Author
2022-09-04Fix #12440: std.math.big.Rational order/orderAbsYujiri
2022-08-22stage2+stage1: remove type parameter from bit builtinsVeikka Tuominen
2022-07-16Use Managed.len in sub, divFloor, and divTrunc tooHiroaki Nakamura
2022-07-16Use Managed.len() instead of Managed.toConst().limbs.lenHiroaki Nakamura
2022-07-16Fix std.math.big.int.Managed capacity after mul and sqrHiroaki Nakamura
2022-06-29std.math.big.int: breaking API changes to prevent UAFAndrew Kelley
2022-06-13std.math.big.int: update Managed.toString() to use provided allocator (#11839)Mikael Berthe
2022-06-07std: adjust for stage2 semanticsVeikka Tuominen
2022-06-01Sema: apply previous changes to `validateUnionInit`Veikka Tuominen
2022-05-27math: make `cast` return optional instead of an errorAli Chraghi
2022-04-15std: add workaround for stage2 bugVeikka Tuominen
2022-04-05zig fmt: remove trailing whitespace on doc commentsDamien Firmenich
2022-03-23math/big: correct fix for divmod (#11271)Marc Tiehuis
2022-03-10math: fix big.int div, gcd and bitAnd edge-casesMarc Tiehuis
2022-02-18stage2: Implement `@bitReverse` and `@byteSwap`Cody Tapscott
2022-02-13Add additional tests for `@bitCast`Cody Tapscott
2022-02-13Add `abi_size` parameter to read/writeTwosComplementCody Tapscott
2022-02-11Fix up sign handling and add arbitrary-length integer support to @bitCast()Cody Tapscott
2022-02-06std/math: optimize division with divisors less than a half-limbMarc Tiehuis
2021-12-21stage2: @addWithOverflowRobin Voetter
2021-11-30allocgate: std Allocator interface refactorLee Cannon
2021-11-30std lib API deprecations for the upcoming 0.9.0 releaseAndrew Kelley
2021-10-29stage2: implement `@popCount` for non-vectorsAndrew Kelley
2021-10-27std.rand: Refactor `Random` interfaceOminitay
2021-10-25Revert 83bdbb2 and a587dd0 (#10028)Robin Voetter
2021-10-25std: disable big.rational setFloat targeting wasm32Jakub Konka
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-04big ints: Fix tests for 32-bit architecturesRobin Voetter
2021-10-04fmtRobin Voetter
2021-10-04Apply new big int wrap/saturate to Value.zigRobin Voetter
2021-10-04big ints: mulWrap testsRobin Voetter
2021-10-04big ints: Some extra commentsRobin Voetter
2021-10-04big ints: saturate() testsRobin 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.int: truncate testsRobin Voetter
2021-10-04big ints: [add|sub]Sat testsRobin Voetter
2021-10-04big ints: [add|sub]Wrap testsRobin Voetter
2021-10-04big ints: implement normal/wrapping/saturating subtraction in terms of additionRobin Voetter