aboutsummaryrefslogtreecommitdiff
path: root/lib/std/math.zig
AgeCommit message (Expand)Author
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
2020-03-04std: Use @TypeOf(x,y) as return value for maxLemonBoy
2020-02-24remove uses of `@ArgType` and `@IntType`Vexu
2020-02-24remove usages of `@typeId`, `@memberCount`, `@memberName` and `@memberType`Vexu
2020-01-14Add clamp function to math moduleHersh Krishna
2020-01-01std.mem.compare: breaking API changesAndrew Kelley
2019-12-16allow comparison of any numeric typesAndrew Kelley
2019-12-16std: lessThan and greaterThan between signed and unsignedShawn Landden
2019-12-10Replace @typeOf with @TypeOf in all zig sourceRobin Voetter
2019-11-29std.math: remove constants that should be expressionsAndrew Kelley
2019-11-19add `std.math.tau` constant (equivalent to 2 * pi)dbandstra
2019-11-08update more of the std lib to use `@as`Andrew Kelley
2019-11-08update the codebase to use `@as`Andrew Kelley
2019-10-24refAllDecls in a test block to limit when it gets runAndrew Kelley
2019-10-16ref more math decls for better docsAndrew Kelley
2019-10-16turn comments into doc commentsAndrew Kelley
2019-10-16Add 'missing' consts to math.zigSebsatian Keller
2019-10-09generated docs: render valuesAndrew Kelley