aboutsummaryrefslogtreecommitdiff
path: root/lib/std/math.zig
AgeCommit message (Expand)Author
2023-01-03math: implement absInt for integer vectorsJordan Lewis
2022-12-27Revert "aarch64: reenable tests that are no longer regressed"Andrew Kelley
2022-12-27update uses of overflow arithmetic builtinsVeikka Tuominen
2022-12-15std: add CompareOperator.reverseStevie Hryciw
2022-12-10aarch64: reenable tests that are no longer regressedr00ster91
2022-12-09Improve and remove duplicate doNotOptimizeAway() implementations (#13790)Frank Denis
2022-12-06remove most conditional compilation based on stage1Andrew Kelley
2022-11-12Implements std.math.sign for float vectors.IntegratedQuantum
2022-10-15Merge pull request #12918 from jacobly0/math-cast-comptime-intAndrew Kelley
2022-10-12Merge pull request #13081 from r00ster91/docsAndrew Kelley
2022-10-11std.math: add support to cast for a comptime_int argumentJacob Young
2022-10-11std/math.zig: use previous rotate code with non-power-of-two integersRekai Nyangadzayi Musuka
2022-10-05fix(text): hyphenation and other fixesr00ster91
2022-10-01std.math: allow comptime_float for radiansToDegrees and degreesToRadianszooster
2022-09-29std.math: add "Greatest common divisor" (gcd)Chris Boesch
2022-09-16std: remove deprecated API for the upcoming releaseAndrew Kelley
2022-09-12remove pointless discardsAndrew Kelley
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-11std.math: add `degreesToRadians` and `radiansToDegrees`frmdstryr
2022-07-09two more regressed test cases; same cause as last two commitsAndrew Kelley
2022-07-09disable regressed math.sign test caseAndrew Kelley
2022-07-06std: disable aarch64 tests that regressed from LLVM 14Andrew Kelley
2022-05-27math: make `cast` return optional instead of an errorAli Chraghi
2022-05-19Add aliases to math builtins back into std.math (#11666)frmdstryr
2022-05-12add std.math.signTravis Staloch
2022-04-27compiler-rt: math functions reorgAndrew Kelley
2022-04-27std: replace usage of std.meta.bitCount() with @bitSizeOf()Isaac Freund
2022-04-15std/math.zig: resolve missed optimization in rotatesRekai Musuka
2022-04-12Add `floatFractionalBits` to replace `floatMantissaDigits`Cody Tapscott
2022-04-07use math/float.zig everywhereviri
2022-04-07std.math: generalise `inf`, even simpler `isFinite`viri
2022-04-06derive float constants in a generic way (#10133)viri
2022-04-05zig fmt: remove trailing whitespace on doc commentsDamien Firmenich
2022-03-30replace other uses of `std.meta.Vector` with `@Vector` (#11346)Meghan
2022-03-12std.math.lossyCast: fix integer overflowominitay
2022-03-11std.math: remove redundant namespace in test namesAndrew Kelley
2022-02-23stage2: misc fixes in SemaVeikka Tuominen
2022-02-13Simplify implementation of floorPowerOfTwo in std.mathCody Tapscott
2022-02-12make f80 less hacky; lower as u80 on non-x86Andrew Kelley
2022-02-12stage1: fix f80 size and alignment on x86 and armAndrew Kelley
2022-02-04stage1: make f80 always size 16, align 16Veikka Tuominen
2022-02-04compiler-rt: add extend functions for f80Veikka Tuominen
2022-01-28std: add f80 bitsVeikka Tuominen
2021-11-30std lib API deprecations for the upcoming 0.9.0 releaseAndrew Kelley
2021-11-23std/math: add ldexp and make scalbn an aliasMarc Tiehuis
2021-10-05add support for f128 `@mulAdd`Andrew Kelley
2021-10-04add phi constantalichraghi
2021-10-02Document some functions in std.math.Nathan Michaels