<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dolphin/Source/Core/Common/MathUtil.h, branch 2603a</title>
<subtitle>GameCube and Wii emulator</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/'/>
<entry>
<title>MathUtil: Simplify SaturatingCast implementation with std::cmp_less/cmp_greater and fix a floating point edge case.</title>
<updated>2025-08-28T02:24:46+00:00</updated>
<author>
<name>Jordan Woyak</name>
<email>jordan.woyak@gmail.com</email>
</author>
<published>2025-08-26T02:34:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=da546bebb8601192cb7fa8ff30a840a1c43b0e03'/>
<id>da546bebb8601192cb7fa8ff30a840a1c43b0e03</id>
<content type='text'>
Thanks to Dentomologist for catching the edge case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Thanks to Dentomologist for catching the edge case.
</pre>
</div>
</content>
</entry>
<entry>
<title>Common/MathUtil: Move IntLog2 into MathUtil namespace</title>
<updated>2023-04-15T07:35:05+00:00</updated>
<author>
<name>Lioncash</name>
<email>mai.iam2048@gmail.com</email>
</author>
<published>2023-04-15T07:27:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=784a21692763296cbd93f59c4cf8a58c902b81e8'/>
<id>784a21692763296cbd93f59c4cf8a58c902b81e8</id>
<content type='text'>
Gets this out of the global namespace.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Gets this out of the global namespace.
</pre>
</div>
</content>
</entry>
<entry>
<title>Common/MathUtil: Remove MathFloatVectorSum()</title>
<updated>2023-04-15T07:25:38+00:00</updated>
<author>
<name>Lioncash</name>
<email>mai.iam2048@gmail.com</email>
</author>
<published>2023-04-15T07:25:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=5e0c20f8a53d587e4fcacfd202627eadd3a12472'/>
<id>5e0c20f8a53d587e4fcacfd202627eadd3a12472</id>
<content type='text'>
This isn't used anywhere and not really a generic utility, so we can get
rid of it.

This also lets us remove MathUtil.cpp, since this was the only thing
within that file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This isn't used anywhere and not really a generic utility, so we can get
rid of it.

This also lets us remove MathUtil.cpp, since this was the only thing
within that file.
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace BitUtils with C++20: Counting Zeroes</title>
<updated>2022-12-21T10:17:00+00:00</updated>
<author>
<name>Minty-Meeo</name>
<email>45425365+Minty-Meeo@users.noreply.github.com</email>
</author>
<published>2022-10-10T09:03:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=05bebee802c62ff114c53bc9f365f62113c9982e'/>
<id>05bebee802c62ff114c53bc9f365f62113c9982e</id>
<content type='text'>
With the upgrade to C++20, std::countl_zero and std::countr_zero can replace these home-spun implementations from the BitUtil.h library.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With the upgrade to C++20, std::countl_zero and std::countr_zero can replace these home-spun implementations from the BitUtil.h library.
</pre>
</div>
</content>
</entry>
<entry>
<title>MathUtil: Mark lo in SaturatingCast as [[maybe_unused]]</title>
<updated>2022-02-13T22:38:59+00:00</updated>
<author>
<name>Pokechu22</name>
<email>Pokechu022@gmail.com</email>
</author>
<published>2022-01-17T07:32:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=15f80f72342b7f8dcf24dd27fdc0d10c92f86914'/>
<id>15f80f72342b7f8dcf24dd27fdc0d10c92f86914</id>
<content type='text'>
It's unused in the case that T is unsigned and dest is signed (e.g. SaturatingCast&lt;int, size_t&gt; which appears SetIsoPaths in MainSettings.cpp)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's unused in the case that T is unsigned and dest is signed (e.g. SaturatingCast&lt;int, size_t&gt; which appears SetIsoPaths in MainSettings.cpp)
</pre>
</div>
</content>
</entry>
<entry>
<title>MathUtil: Mark IntLog2 as constexpr</title>
<updated>2021-07-06T13:01:38+00:00</updated>
<author>
<name>Léo Lam</name>
<email>leo@leolam.fr</email>
</author>
<published>2021-07-06T13:01:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=b82b0683d5b3ee368db109f86a58fe3ac78d81fa'/>
<id>b82b0683d5b3ee368db109f86a58fe3ac78d81fa</id>
<content type='text'>
Mostly everything else was already marked as constexpr, and the only
function IntLog2 calls (CountLeadingZeros) is already constexpr.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Mostly everything else was already marked as constexpr, and the only
function IntLog2 calls (CountLeadingZeros) is already constexpr.
</pre>
</div>
</content>
</entry>
<entry>
<title>treewide: convert GPLv2+ license info to SPDX tags</title>
<updated>2021-07-05T02:35:56+00:00</updated>
<author>
<name>Pierre Bourdon</name>
<email>delroth@gmail.com</email>
</author>
<published>2021-07-05T01:22:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=e149ad4f0a9874f354221a7fc76d8f1841e47808'/>
<id>e149ad4f0a9874f354221a7fc76d8f1841e47808</id>
<content type='text'>
SPDX standardizes how source code conveys its copyright and licensing
information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX
tags are adopted in many large projects, including things like the Linux
kernel.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SPDX standardizes how source code conveys its copyright and licensing
information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX
tags are adopted in many large projects, including things like the Linux
kernel.
</pre>
</div>
</content>
</entry>
<entry>
<title>MathUtil: Add SaturatingCast to cast floats more safely</title>
<updated>2021-04-06T21:27:23+00:00</updated>
<author>
<name>Léo Lam</name>
<email>leo@leolam.fr</email>
</author>
<published>2021-01-28T11:45:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=48712168b8222d4e48371fa1bd803d83fd90334d'/>
<id>48712168b8222d4e48371fa1bd803d83fd90334d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BitUtils: Add CountLeadingZeros</title>
<updated>2020-12-27T22:56:43+00:00</updated>
<author>
<name>MerryMage</name>
<email>MerryMage@users.noreply.github.com</email>
</author>
<published>2020-12-27T22:37:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=d695fcb1266f0d7776ec987afd7c4e49b764b7c2'/>
<id>d695fcb1266f0d7776ec987afd7c4e49b764b7c2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MathUtil: Add Population (vs Sample) versions of Variance and StandardDeviation to RunningVariance.</title>
<updated>2020-09-28T23:09:33+00:00</updated>
<author>
<name>Jordan Woyak</name>
<email>jordan.woyak@gmail.com</email>
</author>
<published>2020-09-22T22:44:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=1063c4e9408a0555c885e8b52f5eb4e3ab582469'/>
<id>1063c4e9408a0555c885e8b52f5eb4e3ab582469</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
