aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/float128.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/float128.c')
-rw-r--r--gdb/testsuite/gdb.base/float128.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/float128.c b/gdb/testsuite/gdb.base/float128.c
index 4ded2f4..8cd4374 100644
--- a/gdb/testsuite/gdb.base/float128.c
+++ b/gdb/testsuite/gdb.base/float128.c
@@ -21,6 +21,10 @@
long double ld;
__float128 f128;
+// Test largest IEEE-128 value. This has to be supported since the
+// __float128 data type by definition is encoded as IEEE-128.
+__float128 large128 = 1.18973149535723176508575932662800702e+4932q;
+
int main()
{
ld = 1.375l;