diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2016-12-07 22:17:45 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2016-12-07 22:17:45 (GMT) |
commit | 122819fec3af15e67421872cd5e11415d6653ab9 (patch) | |
tree | d161ab9aae467e73cb813e5f4603a93d3f66f5ed /tools | |
parent | 4977ff4c762ed7b1ef9f0d6754339489871cd5c6 (diff) | |
parent | f76c3b56e1ccf81b16225fa6935adb45ac6d2f38 (diff) | |
download | hdf5-122819fec3af15e67421872cd5e11415d6653ab9.zip hdf5-122819fec3af15e67421872cd5e11415d6653ab9.tar.gz hdf5-122819fec3af15e67421872cd5e11415d6653ab9.tar.bz2 |
Merge pull request #48 in HDFFV/hdf5 from HDFFV-9407-h5dump-fails-to-print-full-precision to develop
Merged Kimmy's fix (still needs a test).
* commit 'f76c3b56e1ccf81b16225fa6935adb45ac6d2f38':
fix the issue of h5dump fails to print full precision
Diffstat (limited to 'tools')
-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 72f28ba..a0a78f5 100644 --- a/tools/lib/h5tools_str.c +++ b/tools/lib/h5tools_str.c @@ -804,7 +804,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; |