diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2005-03-30 22:22:42 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2005-03-30 22:22:42 (GMT) |
commit | 54f0b6c66d3b1746b326b7f7a1072854376a15d7 (patch) | |
tree | f9da8fbe16658730585e99ad6fb31797be63b7fc /hl/test | |
parent | 14e06e81cbf54a16e03efb776391acfc2d22e7eb (diff) | |
download | hdf5-54f0b6c66d3b1746b326b7f7a1072854376a15d7.zip hdf5-54f0b6c66d3b1746b326b7f7a1072854376a15d7.tar.gz hdf5-54f0b6c66d3b1746b326b7f7a1072854376a15d7.tar.bz2 |
[svn-r10512] Purpose: Bug fix
Description: In test_conv_int_float(), when testing special floating-point value NaN, the test program
couldn't detect it for Linux Intel compiler when it's optimized. The reason is in my_isnan(), a printf
command used "%LLg" to print "long double".
Solution: Changed it to "%Lg". Also differentiate cases for NaN, using exception handler if present,
decide if software conversion set converted integer to 0, or simply skip for hardware conversion.
Platforms tested: heping - simple change.
Diffstat (limited to 'hl/test')
0 files changed, 0 insertions, 0 deletions