diff --git a/CMakeLists.txt b/CMakeLists.txt index e0fae0c..b35e62f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.5) include(cmake/color.cmake) -set(BLT_VERSION 0.16.1) +set(BLT_VERSION 0.16.2) set(BLT_TEST_VERSION 0.0.1) set(BLT_TARGET BLT) diff --git a/include/blt/math/fixed_point.h b/include/blt/math/fixed_point.h index 5961f1b..e409d0c 100644 --- a/include/blt/math/fixed_point.h +++ b/include/blt/math/fixed_point.h @@ -62,15 +62,15 @@ namespace blt BLT_ATTRIB_NO_INLINE friend fp64 operator*(fp64 left, fp64 right) { - auto lhs = static_cast<__int128>(left.v); - auto rhs = static_cast<__int128>(right.v); + auto lhs = static_cast(left.v); + auto rhs = static_cast(right.v); return fp64(static_cast((lhs * rhs) >> 32)); } BLT_ATTRIB_NO_INLINE friend fp64 operator/(fp64 left, fp64 right) { - auto lhs = static_cast<__int128>(left.v); - auto rhs = static_cast<__int128>(right.v); + auto lhs = static_cast(left.v); + auto rhs = static_cast(right.v); return fp64(static_cast((lhs / rhs) << 32)); }