aboutsummaryrefslogtreecommitdiff
path: root/lib/std/math.zig
AgeCommit message (Expand)Author
2021-06-10zig fmtAndrew Kelley
2021-06-03Breaking hash map changes for 0.8.0Martin Wickham
2021-05-20Run `zig fmt` on src/ and lib/std/Isaac Freund
2021-05-08Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgenAndrew Kelley
2021-05-08std: update usage of std.testingVeikka Tuominen
2021-04-24Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgenAndrew Kelley
2021-04-23std: Remove unneeded workaroundLemonBoy
2021-04-22std: remove `comptime const`Andrew Kelley
2021-03-01zig fmt the std libAndrew Kelley
2021-03-01Add some bit set variantsMartin Wickham
2021-01-25Merge pull request #7846 from LemonBoy/filtertestAndrew Kelley
2021-01-22std: Update `test ""` to `test` where it makes senseLemonBoy
2021-01-19stage2: ELF: avoid multiplication for ideal capacityAndrew Kelley
2021-01-10zig fmtAndrew Kelley
2021-01-10impl lossyCast #5080Adam Goertz
2020-12-31Year++Frank Denis
2020-12-16Fix typo in math.orderdata-man
2020-11-19Add builtin.Signedness, use it instead of is_signedTadeo Kondrak
2020-11-06Merge pull request #6941 from LemonBoy/floateqapproxAndrew Kelley
2020-11-05math.shl/math.shr: add support for vectorsFrank Denis
2020-11-05std: Implement more useful approxEq semanticsLemonBoy
2020-10-29std/math: add support for vectors to rotl()/rotr()Frank Denis
2020-10-17Make std.meta.Int accept a signedness parameterJan Prudil
2020-10-15std: move std.meta.refAllDecls to std.testingTadeo Kondrak
2020-10-07restore ability to do comptime mathxavier
2020-09-03update uses of deprecated type field accessVexu
2020-08-30Merge pull request #6189 from katesuyu/div-ceilAndrew Kelley
2020-08-29std.math.divCeil: fix expectEqual argument orderKate Tsuyu
2020-08-29std.math.divCeil: use expectEqual for testsKate Tsuyu
2020-08-29std.math.divCeil: move compile error back downKate Tsuyu
2020-08-29std.math.divCeil: move compile error to topKate Tsuyu
2020-08-29std.math.divCeil: support comptime_int/floatKate Tsuyu
2020-08-28std.math.divCeil: conform to more test casesKate Tsuyu
2020-08-28std.math.divCeil: handle floats correctlierKate Tsuyu
2020-08-28std.math.divCeil: handle floats correctlyKate Tsuyu
2020-08-28std: Add std.math.divCeilKate Tsuyu
2020-08-26forceEval() -> doNotOptimizeAway()Frank Denis
2020-08-26Rename blackBox, move it to std.mem.forceEval()Frank Denis
2020-08-20add license header to all std lib filesAndrew Kelley
2020-08-13stage2: implement while loops (bool condition)Andrew Kelley
2020-08-08utilize math.ceilPowerOfTwoAndrew Kelley
2020-07-11run zig fmt on std lib and self hostedVexu
2020-07-08stage2: machine code for condbr jumpsAndrew Kelley
2020-06-17Improve f128 standard library supportantlilja
2020-05-01ZIR: add cmp and condbr instructionsAndrew Kelley
2020-04-28std.meta.IntType -> std.meta.IntTadeo Kondrak
2020-04-16std: make math.clamp work for common uses, remove automatic bounds swappingAndrius Mitkus
2020-03-24std: Add qNaN constantsLemonBoy
2020-03-05std: use testing.expectEqual in math.absCast testsdaurnimator
2020-03-05std: fix math.absCast on i1daurnimator