summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/mfluadir
diff options
context:
space:
mode:
authorLuigi Scarso <luigi.scarso@gmail.com>2021-02-15 00:35:06 +0000
committerLuigi Scarso <luigi.scarso@gmail.com>2021-02-15 00:35:06 +0000
commit54fd7d26c093af9e036d8b98ee8be2b8f0ca12b9 (patch)
treedaf83d22e23f7a08efd3a455f4eeb145e1618583 /Build/source/texk/web2c/mfluadir
parent1426e46e70e41a176d37049fc4e0b9bf3dde108a (diff)
mflua: code clean up
git-svn-id: svn://tug.org/texlive/trunk@57747 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/mfluadir')
-rw-r--r--Build/source/texk/web2c/mfluadir/otfcc/dep/extern/emyg-dtoa/emyg-dtoa.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/mfluadir/otfcc/dep/extern/emyg-dtoa/emyg-dtoa.c b/Build/source/texk/web2c/mfluadir/otfcc/dep/extern/emyg-dtoa/emyg-dtoa.c
index 37d328f4d37..8bf700daaf8 100644
--- a/Build/source/texk/web2c/mfluadir/otfcc/dep/extern/emyg-dtoa/emyg-dtoa.c
+++ b/Build/source/texk/web2c/mfluadir/otfcc/dep/extern/emyg-dtoa/emyg-dtoa.c
@@ -97,7 +97,9 @@ static inline DiyFp DiyFp_multiply(const DiyFp lhs, const DiyFp rhs) {
}
return DiyFp_from_parts(h, lhs.e + rhs.e + 64);
#elif (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) && defined(__x86_64__) && !defined(_MSC_VER)
- unsigned __int128 p = (unsigned __int128)(lhs.f) * (unsigned __int128)(rhs.f);
+ __extension__ typedef unsigned __int128 uint128_t;
+ //unsigned int128 p = (unsigned int128)(lhs.f) * (unsigned int128)(rhs.f);
+ uint128_t p = (uint128_t)(lhs.f) * (uint128_t)(rhs.f);
uint64_t h = p >> 64;
uint64_t l = (uint64_t)(p);
if (l & ((uint64_t)(1) << 63)) // rounding