diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2005-06-29 16:06:35 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2005-06-29 16:06:35 (GMT) |
commit | ff66fc2ef34f20dfe288ecda476434a55c6e16ff (patch) | |
tree | e3abc1f1c4cc4264c419d3906033c1b41b7badca /src | |
parent | 7b193be887d3d84adddc5c1738799e53d1fc2754 (diff) | |
download | hdf5-ff66fc2ef34f20dfe288ecda476434a55c6e16ff.zip hdf5-ff66fc2ef34f20dfe288ecda476434a55c6e16ff.tar.gz hdf5-ff66fc2ef34f20dfe288ecda476434a55c6e16ff.tar.bz2 |
[svn-r11001] Purpose: Add more comment.
Diffstat (limited to 'src')
-rw-r--r-- | src/H5Tconv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Tconv.c b/src/H5Tconv.c index 4690857..a80b7c3 100644 --- a/src/H5Tconv.c +++ b/src/H5Tconv.c @@ -187,7 +187,8 @@ H5FL_BLK_DEFINE_STATIC(array_seq); * It handles a special situation when the source is "float" and assigned the value * of "INT_MAX". A compiler may do roundup making this value "INT_MAX+1". However, * when do comparison "if (*((ST*)S) > (DT)(D_MAX))", the compiler may consider them - * equal. SLU - 2005/06/29 + * equal. In this case, do not return exception but make sure the maximum is assigned + * to the destination. SLU - 2005/06/29 */ #define H5T_CONV_Xx_CORE(S,D,STYPE,DTYPE,ST,DT,D_MIN,D_MAX) { \ if (*((ST*)S) > (DT)(D_MAX)) { \ |