aboutsummaryrefslogtreecommitdiff
path: root/lib/std/math.zig
AgeCommit message (Expand)Author
2023-06-24all: migrate code to new cast builtin syntaxmlugg
2023-06-19all: zig fmt and rename "@XToY" to "@YFromX"Eric Joldasov
2023-06-18std.math.isPowerOfTwo: add tests and doc comment and improve assertr00ster91
2023-06-16migration: std.math.{min, min3, max, max3} -> `@min` & `@max`r00ster91
2023-06-13all: replace `comptime try` with `try comptime`Eric Joldasov
2023-06-13std.math: hard deprecate obsolete constants (soft deprecated in 0.10)Eric Joldasov
2023-05-29std.io.Writer: add support for non-power-of-two int sizesCortex
2023-05-24make `@boolToInt` always return a u1tison
2023-04-23Improvements to docs and textzooster
2023-04-20std.math: add lerp (#13002)zooster
2023-04-12Zir: implement explicit block_comptime instructionmlugg
2023-03-22std.math: port int log10 from RustAdrian Delgado
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