diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2015-09-06 02:05:27 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2015-09-06 02:05:27 (GMT) |
commit | 67678e9a3f081a5d7e29b654a14b899f4ab50a9b (patch) | |
tree | 4b80130895965ed708bdcc5e1d3803ad05cf95a2 /tools/lib/h5diff_array.c | |
parent | 2b35b265e91dea7157347aa0a631cc35bcabf6c9 (diff) | |
download | hdf5-67678e9a3f081a5d7e29b654a14b899f4ab50a9b.zip hdf5-67678e9a3f081a5d7e29b654a14b899f4ab50a9b.tar.gz hdf5-67678e9a3f081a5d7e29b654a14b899f4ab50a9b.tar.bz2 |
[svn-r27685] Merge of r27572 from trunk
Remove all VMS-specific code from the library. The exception is the VMS
floating-point tests since those are special as VMS floats are odd.
Those files will be considered separately.
Fixes HDFFV-9495
Tested on: h5committest
Diffstat (limited to 'tools/lib/h5diff_array.c')
-rw-r--r-- | tools/lib/h5diff_array.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tools/lib/h5diff_array.c b/tools/lib/h5diff_array.c index d71bc2c..1ee9054 100644 --- a/tools/lib/h5diff_array.c +++ b/tools/lib/h5diff_array.c @@ -6046,28 +6046,6 @@ my_isnan(dtype_t type, void *val) } } -#ifdef H5_VMS - /* For "float" and "double" on OpenVMS/Alpha, NaN is - * actually a valid value of maximal value.*/ - if(!retval) - { - if (FLT_FLOAT==type) - { - float x; - - HDmemcpy(&x, val, sizeof(float)); - retval = (x==FLT_MAX || x==-FLT_MAX); - } else if (FLT_DOUBLE==type) { - double x; - - HDmemcpy(&x, val, sizeof(double)); - retval = (x==DBL_MAX || x==-DBL_MAX); - } else - { - return FALSE; - } - } -#endif /*H5_VMS*/ return retval; } |