<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dolphin/Source/UnitTests/Common/MathUtilTest.cpp, branch master</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>UnitTests: Remove redundant template type specifers</title>
<updated>2025-05-16T19:09:52+00:00</updated>
<author>
<name>Dr. Dystopia</name>
<email>jonis9898@hotmail.com</email>
</author>
<published>2025-05-16T19:09:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=2102108b1a62c0e30f86e2ceada7d8be03603923'/>
<id>2102108b1a62c0e30f86e2ceada7d8be03603923</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add some unit tests for the `Rectangle` class</title>
<updated>2024-06-09T23:28:35+00:00</updated>
<author>
<name>Niel Lebeck</name>
<email>niel.lebeck@gmail.com</email>
</author>
<published>2024-06-02T19:32:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=9b0dcc83d1d623e04928640770103e06a94c7f6f'/>
<id>9b0dcc83d1d623e04928640770103e06a94c7f6f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>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>Replace MathUtil::Clamp with std::clamp</title>
<updated>2019-05-04T21:12:17+00:00</updated>
<author>
<name>Léo Lam</name>
<email>leo@innovatetechnologi.es</email>
</author>
<published>2017-12-25T23:38:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=ab9ece9bcab8a6d55dbe6f3a904d49231e5f73e1'/>
<id>ab9ece9bcab8a6d55dbe6f3a904d49231e5f73e1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>UnitTests: Fix MSVC compilation</title>
<updated>2018-06-12T13:28:59+00:00</updated>
<author>
<name>spycrab</name>
<email>spycrab@users.noreply.github.com</email>
</author>
<published>2018-06-12T13:10:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=4d55cb745c4ed6bc624071dbcc8f23f37d186da6'/>
<id>4d55cb745c4ed6bc624071dbcc8f23f37d186da6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>CommonFuncs: Convert ROUND_UP_POW2 macro to a function</title>
<updated>2018-05-10T23:42:20+00:00</updated>
<author>
<name>Lioncash</name>
<email>mathew1800@gmail.com</email>
</author>
<published>2018-05-10T23:06:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=ba01f6dba3cf1858ed64bc7f1abee744ffd313ec'/>
<id>ba01f6dba3cf1858ed64bc7f1abee744ffd313ec</id>
<content type='text'>
Also move it to MathUtils where it belongs with the rest of the
power-of-two functions. This gets rid of pollution of the current scope
of any translation unit with b&lt;value&gt; macros that aren't intended to be
used directly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also move it to MathUtils where it belongs with the rest of the
power-of-two functions. This gets rid of pollution of the current scope
of any translation unit with b&lt;value&gt; macros that aren't intended to be
used directly.
</pre>
</div>
</content>
</entry>
<entry>
<title>Common: Move floating-point utility functions to FloatUtils.h/.cpp</title>
<updated>2018-05-07T06:56:32+00:00</updated>
<author>
<name>Lioncash</name>
<email>mathew1800@gmail.com</email>
</author>
<published>2018-05-07T05:18:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=86018b503b51d32ea67b6e6978ba52fce36fc175'/>
<id>86018b503b51d32ea67b6e6978ba52fce36fc175</id>
<content type='text'>
Keeps all of the floating-point utility functions in their own file to
keep them all together. This also provides a place for other
general-purpose floating-point functions to be added in the future,
which will be necessary when improving the flag-setting within the
interpreter.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Keeps all of the floating-point utility functions in their own file to
keep them all together. This also provides a place for other
general-purpose floating-point functions to be added in the future,
which will be necessary when improving the flag-setting within the
interpreter.
</pre>
</div>
</content>
</entry>
</feed>
