diff options
author | kmu <kmu@jelly.ad.hdfgroup.org> | 2016-09-27 19:04:19 (GMT) |
---|---|---|
committer | kmu <kmu@jelly.ad.hdfgroup.org> | 2016-09-27 19:04:19 (GMT) |
commit | f76c3b56e1ccf81b16225fa6935adb45ac6d2f38 (patch) | |
tree | f573cfea11add5b63a1ae46481dcf80f153d7263 /tools/lib/h5tools_str.c | |
parent | a7fb4ede8601e135433ef2d23bf4bbb466d9f58d (diff) | |
download | hdf5-f76c3b56e1ccf81b16225fa6935adb45ac6d2f38.zip hdf5-f76c3b56e1ccf81b16225fa6935adb45ac6d2f38.tar.gz hdf5-f76c3b56e1ccf81b16225fa6935adb45ac6d2f38.tar.bz2 |
fix the issue of h5dump fails to print full precision
Diffstat (limited to 'tools/lib/h5tools_str.c')
-rw-r--r-- | tools/lib/h5tools_str.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/h5tools_str.c b/tools/lib/h5tools_str.c index 6d9a041..3b75215 100644 --- a/tools/lib/h5tools_str.c +++ b/tools/lib/h5tools_str.c @@ -803,7 +803,7 @@ h5tools_str_sprint(h5tools_str_t *str, const h5tool_format_t *info, hid_t contai long double templdouble; HDmemcpy(&templdouble, vp, sizeof(long double)); - h5tools_str_append(str, "%Lf", templdouble); + h5tools_str_append(str, OPT(info->fmt_double, "%Lf"), templdouble); #endif } break; |