Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/util/math.cpp b/src/util/math.cpp
- index 46e9ede..3af4259 100644
- --- a/src/util/math.cpp
- +++ b/src/util/math.cpp
- @@ -54,7 +54,7 @@ static uint32 Float32ToFloatN(float f, const NBitFloatInfo& info);
- static float FloatNToFloat32(uint32 fBits, const NBitFloatInfo& info);
- // Initialize the descriptors for various N-bit floating point representations:
- -static constexpr NBitFloatInfo Float16Info =
- +static NBitFloatInfo Float16Info =
- {
- 16, // numBits
- 10, // numFracBits
- @@ -72,7 +72,7 @@ static constexpr NBitFloatInfo Float16Info =
- (23 - 10), // fracBitsDiff
- };
- -static constexpr NBitFloatInfo Float11Info =
- +static NBitFloatInfo Float11Info =
- {
- 11, // numBits
- 6, // numFracBits
- @@ -90,7 +90,7 @@ static constexpr NBitFloatInfo Float11Info =
- 23 - 6, // fracBitsDiff
- };
- -static constexpr NBitFloatInfo Float10Info =
- +static NBitFloatInfo Float10Info =
- {
- 10, // numBits
- 5, // numFracBits
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement