summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/h5diffgentest.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-10-14 20:38:57 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-10-14 20:38:57 (GMT)
commitc7bc8d9d2841e712b61f67c3f13f4475294874a9 (patch)
tree1345a185398c8d602afae9d2a1c9f92828d343b7 /tools/h5diff/h5diffgentest.c
parent56b70ea5052cc7821b5ad8837a49af772743368a (diff)
downloadhdf5-c7bc8d9d2841e712b61f67c3f13f4475294874a9.zip
hdf5-c7bc8d9d2841e712b61f67c3f13f4475294874a9.tar.gz
hdf5-c7bc8d9d2841e712b61f67c3f13f4475294874a9.tar.bz2
[svn-r15866] add support for long double type
tested: windows, linux (32,64)
Diffstat (limited to 'tools/h5diff/h5diffgentest.c')
-rw-r--r--tools/h5diff/h5diffgentest.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/h5diff/h5diffgentest.c b/tools/h5diff/h5diffgentest.c
index 7d9add7..b713e9f 100644
--- a/tools/h5diff/h5diffgentest.c
+++ b/tools/h5diff/h5diffgentest.c
@@ -259,6 +259,23 @@ int test_basic(const char *fname1, const char *fname2, const char *fname3)
}
+#if H5_SIZEOF_LONG_DOUBLE !=0
+ {
+
+ /*-------------------------------------------------------------------------
+ * H5T_NATIVE_LDOUBLE
+ *-------------------------------------------------------------------------
+ */
+
+ long double data15[3][2] ={{1,1},{1,1},{1,1}};
+
+ write_dset(gid1,2,dims2,"ld",H5T_NATIVE_LDOUBLE,data15);
+
+ }
+#endif
+
+
+
/*-------------------------------------------------------------------------
* NaNs in H5T_NATIVE_FLOAT
*-------------------------------------------------------------------------