summaryrefslogtreecommitdiff
path: root/Source/Core/Common/FloatUtils.cpp
AgeCommit message (Collapse)Author
2018-05-10FloatUtils: Clean up memcpy usagesLioncash
Now that we have BitCast, we can use that instead.
2018-05-09FloatUtils: Remove union type punning from ClassifyX functionsLioncash
Type-punning via unions is undefined behavior in C++ Also take the liberty of cleaning these up a little bit by removing unnecessary else usages.
2018-05-09FloatUtils: Remove union type punning from ApproximateReciprocal functionsLioncash
This form of type punning invokes undefined behavior in C++
2018-05-09FloatUtils: Remove using namespace std in ApproximateReciprocal()Lioncash
This was made quite a long time ago when we supported 32-bit ARM targets
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.