[svn-r10087] Purpose: New feature and test

Description:  Somehow, the hardware conversions between "long double" and other native floating-point
types were left out.

Solution:  Added the hardware conversion functions in H5Tconv.c and test cases in dtypes.c.

Platforms tested: h5committest and fuss.

Misc. update: updated MANIFEST to replace bin/reconfigure.sh with bin/reconfigure
This commit is contained in:
Raymond Lu
2005-02-25 15:26:32 -05:00
parent cffc51b94c
commit 82ae8ac4e0
5 changed files with 157 additions and 8 deletions

View File

@@ -7966,7 +7966,13 @@ main(void)
/* Test hardware floating-point conversion functions */
nerrors += test_conv_flt_1("hw", H5T_NATIVE_FLOAT, H5T_NATIVE_DOUBLE);
nerrors += test_conv_flt_1("hw", H5T_NATIVE_DOUBLE, H5T_NATIVE_FLOAT);
#if H5_SIZEOF_LONG_DOUBLE!=H5_SIZEOF_DOUBLE
nerrors += test_conv_flt_1("hw", H5T_NATIVE_FLOAT, H5T_NATIVE_LDOUBLE);
nerrors += test_conv_flt_1("hw", H5T_NATIVE_DOUBLE, H5T_NATIVE_LDOUBLE);
nerrors += test_conv_flt_1("hw", H5T_NATIVE_LDOUBLE, H5T_NATIVE_FLOAT);
nerrors += test_conv_flt_1("hw", H5T_NATIVE_LDOUBLE, H5T_NATIVE_DOUBLE);
#endif
/* Test hardware integer-float conversion functions */
nerrors += run_int_float_conv("hw");