aboutsummaryrefslogtreecommitdiff
path: root/lib/std/math
AgeCommit message (Expand)Author
2022-04-08std.math.isInf: add tests for +-NaNviri
2022-04-07use math/float.zig everywhereviri
2022-04-07std.math.is*Inf: make generic, support f80viri
2022-04-07std.math: generalise `inf`, even simpler `isFinite`viri
2022-04-07std.math.isFinite: make generic, support f80viri
2022-04-06std.{fmt, math}: derive float constants from stdviri
2022-04-06math.fabs: simplify implementation, add testsviri
2022-04-06math.isNormal: simplify implementation, add testsviri
2022-04-06derive float constants in a generic way (#10133)viri
2022-04-05zig fmt: remove trailing whitespace on doc commentsDamien Firmenich
2022-03-27std.math.Complex: add 'negation' and 'mulitply by i'BlueAlmost
2022-03-23math/big: correct fix for divmod (#11271)Marc Tiehuis
2022-03-14freestanding libc: include roundlAndrew Kelley
2022-03-10math: fix big.int div, gcd and bitAnd edge-casesMarc Tiehuis
2022-03-06stage2: rework `@mulAdd`Andrew Kelley
2022-02-18stage2: Implement `@bitReverse` and `@byteSwap`Cody Tapscott
2022-02-18Merge pull request #10858 from topolarity/stage2-bitcastAndrew Kelley
2022-02-17Replace magic numbers with clearer representationJ87
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
2022-01-29Fix overflow in std.math.isNormal when applied to -Inf or a negative NaNJonathan S
2022-01-28std: add f80 bitsVeikka Tuominen
2021-12-21stage2: @addWithOverflowRobin Voetter
2021-12-06std/math: hide internal cos/tan functionsMarc Tiehuis
2021-12-06std/math: fix __rem_pio2 underflowMarc Tiehuis
2021-12-06std/math: Add test cases for #9901Marc Tiehuis
2021-12-06std/math: replace golang sin/cos/tan with musl sin/cos/tanMarc Tiehuis
2021-11-30allocgate: std Allocator interface refactorLee Cannon
2021-11-30std lib API deprecations for the upcoming 0.9.0 releaseAndrew Kelley
2021-11-24AstGen: use reachableExpr for return operandAndrew Kelley
2021-11-23std/math: add ldexp and make scalbn an aliasMarc Tiehuis
2021-11-15Fix copy-paste error that results in incorrect results from exp64()Lewis Gaul
2021-10-29stage2: implement `@popCount` for non-vectorsAndrew Kelley
2021-10-27std.rand: Refactor `Random` interfaceOminitay
2021-10-26Fix bug in exp2() (#9999)Lewis Gaul
2021-10-25Revert 83bdbb2 and a587dd0 (#10028)Robin Voetter
2021-10-25std: disable big.rational setFloat targeting wasm32Jakub Konka
2021-10-24libc: Export trunclLemonBoy
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-22zig libc: export floorl and ceillAndrew Kelley
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