diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-04-27 01:43:34 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-04-27 02:47:27 +0200 |
commit | 873b5de87c3186d85bb497b0f9c13b8c5e425712 (patch) | |
tree | 4300977805be65898942d64914b121533ef97001 /libphobos | |
parent | 2370bdbb0b29b14401d8508d846c0e01c64d82fc (diff) | |
download | gcc-873b5de87c3186d85bb497b0f9c13b8c5e425712.zip gcc-873b5de87c3186d85bb497b0f9c13b8c5e425712.tar.gz gcc-873b5de87c3186d85bb497b0f9c13b8c5e425712.tar.bz2 |
d: Merge upstream dmd f8a1a5153, druntime 2b5c0b27
Adds a new test directive COMPILABLE_MATH_TEST, and support has been
added for it in gdc-convert-test so that they are skipped if phobos is
not present on the target.
Only change in D runtime is a small documentation fix.
Reviewed-on: https://github.com/dlang/druntime/pull/3067
https://github.com/dlang/dmd/pull/11060
gcc/testsuite/ChangeLog:
PR d/89418
* lib/gdc-utils.exp (gdc-convert-test): Add dg-skip-if for compilable
tests that depend on the phobos standard library.
Diffstat (limited to 'libphobos')
-rw-r--r-- | libphobos/libdruntime/MERGE | 2 | ||||
-rw-r--r-- | libphobos/libdruntime/core/internal/convert.d | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libphobos/libdruntime/MERGE b/libphobos/libdruntime/MERGE index 8b461f7..e376348 100644 --- a/libphobos/libdruntime/MERGE +++ b/libphobos/libdruntime/MERGE @@ -1,4 +1,4 @@ -e68a5ae36790fa9dc5bab6155bc450eb6bf8c12c +2b5c0b2766949e788e4929c5fb0e2ba698ff79a3 The first line of this file holds the git revision number of the last merge done from the dlang/druntime repository. diff --git a/libphobos/libdruntime/core/internal/convert.d b/libphobos/libdruntime/core/internal/convert.d index 3d2cb59..0f540f8 100644 --- a/libphobos/libdruntime/core/internal/convert.d +++ b/libphobos/libdruntime/core/internal/convert.d @@ -73,8 +73,8 @@ const(ubyte)[] toUbyte(T)(const ref T val) if (is(Unqual!T == float) || is(Unqua // Parse DoubleDoubles as a pair of doubles. // The layout of the type is: // - // [1| 7 | 56 ][ 8 | 56 ] - // [S| Exp | Fraction (hi) ][ Unused | Fraction (low) ] + // [1| 11 | 52 ][1| 11 | 52 ] + // [S| Exponent | Fraction (hi) ][S| Exponent | Fraction (low) ] // // We can get the least significant bits by subtracting the IEEE // double precision portion from the real value. |