aboutsummaryrefslogtreecommitdiff
path: root/lib/std/math
AgeCommit message (Expand)Author
2022-12-15std: make builtin.Type.{Int,Float}.bits a u16 instead of comptime_intMeghan
2022-12-14Fix tautological big_int tests.IntegratedQuantum
2022-12-13update usages of `@call`Veikka Tuominen
2022-11-29stage2: fix crash on comptime lazy `@ctz` and `@clz`Andrew Kelley
2022-11-29std.mem.Allocator: allow shrink to failAndrew Kelley
2022-11-30libstd: skip problematic tests on aarch64-windowsJakub Konka
2022-11-28std.big.int.Mutable: fix set(@as(DoubleLimb, 0))Jacob Young
2022-11-18std.math.big.int: implement popCount() for ConstStevie Hryciw
2022-11-12Make invalidFmtError public and use in place of compileErrors for bad format ...Nick Cernis
2022-10-28stage2: Use mem.readPackedInt etc. for packed bitcastsCody Tapscott
2022-10-15Merge branch 'amdgpu-improvements' of https://github.com/Snektron/zig into Sn...Andrew Kelley
2022-10-12build.zig: Forward LLVM lib/include dirs from CMakeJacob Young
2022-10-12big int: make Mutable.normalize constRobin Voetter
2022-10-12math.big.int: document the purpose of limb_len in scalar methodsJacob Young
2022-10-12math.big.int: add `calcLimbLen` doc comment noteJacob Young
2022-10-11big.int: rewrite confusing code in an equivalent but less confusing wayJacob Young
2022-10-11big.int: add support for non-comptime scalarsJacob Young
2022-10-11std: fix memory leak on OutOfMemory error in math.big.int and math.big.rationaGethDW
2022-10-09Manually construct denormal constants in testsCody Tapscott
2022-10-09compiler_rt: Re-implement `ldexp`/`ilogb` using bit-opsCody Tapscott
2022-09-29std.math: add "Greatest common divisor" (gcd)Chris Boesch
2022-09-16std: remove deprecated API for the upcoming releaseAndrew Kelley
2022-09-04Fix #12440: std.math.big.Rational order/orderAbsYujiri
2022-08-24Merge pull request #12574 from Vexu/remove-bit-op-type-paramAndrew Kelley
2022-08-22stage2+stage1: remove type parameter from bit builtinsVeikka Tuominen
2022-08-22Sema: fix parameter of type 'T' must be comptime errorVeikka 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-07-13stage2: fix comptime bitcast involving f80Andrew Kelley
2022-07-13std.math: add `inline` to some functionsAndrew Kelley
2022-06-30stage2: lower float negation explicitlyAndrew Kelley
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-12std: disable failing tests, add zig2 build test-std to CIVeikka Tuominen
2022-06-07std.math: Add O(log N) implementation of log2(x) for comptime_intCody Tapscott
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-05-17std.math: simpler error handlingalice
2022-05-17Simplify `Copysign`alice
2022-05-17Simplify `signbit`alice
2022-05-16`std.math.powi`: use standard definition of underflow/overflow, implement `u0...leesongun
2022-04-27std: use float builtins instead of std.mathAndrew Kelley
2022-04-27add new builtin function `@tan`Andrew Kelley
2022-04-27stage2: fix recent LLVM backend codeAndrew Kelley
2022-04-27compiler-rt: math functions reorgAndrew Kelley
2022-04-25stdlib: Fix hex-float printing for f80Cody Tapscott
2022-04-15std.math.fabs: enable f80 testingvi
2022-04-15std.math: enable f80 tests on freebsdvi