summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Common/FloatUtilsTest.cpp
AgeCommit message (Collapse)Author
2025-05-16UnitTests: Remove redundant template type specifersDr. Dystopia
2024-05-03Replace Common::BitCast with std::bit_castPokechu22
2023-12-11FloatUtilsTest: Resolve -Wsign-compare warningLioncash
2023-10-30UnitTests: Test ApproximateReciprocalSquareRootSintendo
2021-07-17unittests: remove some msvc-specific castsShawn Hoffman
compiles on contemporary msvc checked there is still a mul in release codegen
2021-07-05treewide: convert GPLv2+ license info to SPDX tagsPierre Bourdon
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.
2018-05-10FloatUtils: Remove IntDouble and IntFloatLioncash
Type punning via unions in C++ invokes undefined behavior. Instead, leverage BitCast, our variant of C++2a's std::bit_cast
2018-05-07Common: Move floating-point utility functions to FloatUtils.h/.cppLioncash
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.