summaryrefslogtreecommitdiff
path: root/Source/Core/Common/MathUtil.h
AgeCommit message (Expand)Author
2025-08-27MathUtil: Simplify SaturatingCast implementation with std::cmp_less/cmp_great...Jordan Woyak
2023-04-15Common/MathUtil: Move IntLog2 into MathUtil namespaceLioncash
2023-04-15Common/MathUtil: Remove MathFloatVectorSum()Lioncash
2022-12-21Replace BitUtils with C++20: Counting ZeroesMinty-Meeo
2022-02-13MathUtil: Mark lo in SaturatingCast as [[maybe_unused]]Pokechu22
2021-07-06MathUtil: Mark IntLog2 as constexprLéo Lam
2021-07-05treewide: convert GPLv2+ license info to SPDX tagsPierre Bourdon
2021-04-06MathUtil: Add SaturatingCast to cast floats more safelyLéo Lam
2020-12-27BitUtils: Add CountLeadingZerosMerryMage
2020-09-28MathUtil: Add Population (vs Sample) versions of Variance and StandardDeviati...Jordan Woyak
2020-05-03MathUtil: Fix Rectangle::GetWidth/Height for unsigned typesLéo Lam
2020-02-17MathUtil: Add RunningMean/RunningVariance classes.Jordan Woyak
2020-02-08Cleanup: Use std::abs instead of abs.Jordan Woyak
2019-11-09InputCommon: Detect when evdev exposes acceleration/gyroscope data.Jordan Woyak
2019-05-04Replace MathUtil::Clamp with std::clampLéo Lam
2019-04-23WiimoteEmu: Improve emulated swing.Jordan Woyak
2019-02-03Common: Move Matrix classes out of MathUtil into their own files and make the...Jordan Woyak
2018-12-27Add ability to reshape analog sticks from square/circle to octagon and make t...Jordan Woyak
2018-05-10CommonFuncs: Convert ROUND_UP_POW2 macro to a functionLioncash
2018-05-07Common: Move floating-point utility functions to FloatUtils.h/.cppLioncash
2018-03-23MathUtil: Generify IsPow2Lioncash
2017-06-07fix various instances of -1 being assigned to unsigned typesShawn Hoffman
2017-04-11Jit64AsmCommon: Make frsqrte and fres PIE-compliantMerryMage
2017-03-08common: Don't include intrin.h in a namespaceFlorent Castelli
2017-02-15C++ conformance fixes (MSVC /permissive-)Phil Christensen
2017-01-05specify custom brace style to fix unionsBhaaL
2016-12-06Common: Add alignment headerLéo Lam
2016-06-24Reformat all the things. Have fun with merge conflicts.Pierre Bourdon
2016-04-03MathUtilTest: Fix tests on MSVC - Document compiler bugLioncash
2016-01-21Correct ampersands as wellmathieui
2015-10-20MathUtil: Make Rectangle constructors and equality operator constexprLioncash
2015-10-20MathUtil: Default initialize Rectangle class data membersLioncash
2015-09-12MathUtil: Convert IsPow2 into a constexpr functionLioncash
2015-09-12MathUtil: Convert Clamp into a constexpr functionLioncash
2015-08-21MathUtil: Remove IsNAN and IsINFLioncash
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2015-03-04Fix clamping for rectangles.magumagu
2014-11-23VertexShaderManager: Compute stereoscopy projection matrices.Jules Blok
2014-09-10Merge pull request #1027 from rohit-n/change-includeRyan Houdek
2014-09-08Rename Log2 and add IsPow2 to MathUtils for future useFiora
2014-09-08Include CommonTypes.h instead of Common.h.Rohit Nirmal
2014-09-05Revert "JIT64: optimize CA calculations"Fiora
2014-09-05Merge pull request #852 from FioraAeterna/optimizecacomex
2014-09-05Merge pull request #947 from FioraAeterna/rsqrtecomex
2014-09-03JIT: implement fresFiora
2014-09-03JIT: implement frsqrteFiora
2014-09-03Common: Remove unnecessary define check in Log2lioncash
2014-09-01Rename Log2 and add IsPow2 to MathUtils for future useFiora
2014-07-15Fix incorrect clamping in SWRenderer.Scott Mansell