diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-04-16 21:26:37 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-04-16 21:26:37 (GMT) |
commit | 7f2eb1127ab1a9c503f5cb65b7453c3c819b76a3 (patch) | |
tree | c00330e0ce715e887a54bd4e565d02a723e4af2f /release_docs | |
parent | 84960eed3cf0f418da4a5e0cdca31eee76110b29 (diff) | |
download | hdf5-7f2eb1127ab1a9c503f5cb65b7453c3c819b76a3.zip hdf5-7f2eb1127ab1a9c503f5cb65b7453c3c819b76a3.tar.gz hdf5-7f2eb1127ab1a9c503f5cb65b7453c3c819b76a3.tar.bz2 |
[svn-r8360] Purpose:
bug fix.
Description:
On LANL QSC, test/dtypes "sw long double -> double" had failed when the
long double values were too small, smaller than the minimum double normalized
floating number. The hw in QSC converts them mostly to 0 but occasionally,
it converts to the some non-zero values which are still <= the minimum
double normalized number. But the conversion verification did not like
them and flagged them as errors.
Solution:
Added code to check if the src value is already smaller than the minimum
number the float class can hold. When that happens and if both hw and sw
conversion results are <= the minimum number, then accepts them as okay
because if the src is smaller than the dst minimum number, an underflow
has occured.
Platforms tested:
Tested in LANL QSC and Theta.
Diffstat (limited to 'release_docs')
0 files changed, 0 insertions, 0 deletions