mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-07 16:37:56 +08:00
fix the issue of h5dump fails to print full precision
This commit is contained in:
parent
a7fb4ede86
commit
f76c3b56e1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user