diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2005-03-26 16:16:27 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2005-03-26 16:16:27 (GMT) |
commit | 2e52c2f4f26f9eab6f51eb4b12a781f383467dd4 (patch) | |
tree | 23651caa44a18205cf95d0529160853a82fbd818 /tools/h5repack | |
parent | c2c35afa8eafbcc05cb1622a0327130f02851885 (diff) | |
download | hdf5-2e52c2f4f26f9eab6f51eb4b12a781f383467dd4.zip hdf5-2e52c2f4f26f9eab6f51eb4b12a781f383467dd4.tar.gz hdf5-2e52c2f4f26f9eab6f51eb4b12a781f383467dd4.tar.bz2 |
[svn-r10456] Purpose: New way to do conversion test from floating-points to integers.
Description: The 6th step of changing conversion test. This checkin is
only for conversion of special values from floating-points to integers.
Solution: This test is seperated from regular value conversion. It reuses
the same function test_conv_int_float() in test/dtypes.c. The source buffer
of floating-point type is filled up with 8 special values, +/-0, +/-infinity,
+/-QNaN, +/-SNaN.
Also added 3 new conversion exception values H5T_CONV_EXCEPT_PINF, H5T_CONV_EXCEPT_NINF,
H5T_CONV_EXCEPT_NAN, for floating-point special values positive infinity, negative
infinity, and NaN. These values are for conversion exception callback function defined
through H5Pset_type_conv_cb(). (Remember to update the document!)
Platforms tested: h5committest
Diffstat (limited to 'tools/h5repack')
0 files changed, 0 insertions, 0 deletions