hdf5/test
Raymond Lu 93e661f16b [svn-r11395] Purpose: Bug fix
Description: Quincey added the condition branch (else if (*((ST*)S) != (ST)((DT)(*((ST*)S)))))
in the definition of the macro H5T_CONV_Fx_CORE.  It handles a special situation
when the source is "float" and assigned the value of "INT_MAX".  Compilers do roundup
making this value "INT_MAX+1".  This branch is to check that situation and return
exception for some compilers, mainly GCC.

The branch if (*((ST*)S) > (DT)(D_MAX) || (S_PREC < D_PREC && *((ST*)S) ==
(DT)(D_MAX))) is for some compilers like Sun, HP, IBM, and SGI where under
the same situation the "int" doesn't overflow.

A test was added to dt_arith.c to check 2 conversions, from float to int where the
float is INT_MAX, and from double to signed char where the double is SCHAR_MAX.


Platforms tested: h5committest and fuss.
2005-09-12 14:39:16 -05:00
..
testfiles [svn-r9839] Purpose: 2005-01-19 15:15:26 -05:00
b+tree.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
big.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
bittests.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
blocktrack.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
btree2.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
cache.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
cmpd_dset.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
createnoenc.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
dangle.c [svn-r11295] Purpose: 2005-08-25 12:16:02 -05:00
deflate.h5
dsets.c [svn-r11337] Purpose: 2005-09-01 17:46:16 -05:00
dt_arith.c [svn-r11395] Purpose: Bug fix 2005-09-12 14:39:16 -05:00
dtransform.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
dtypes.c [svn-r11345] Purpose: 2005-09-03 12:11:00 -05:00
enum.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
err_compat.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
error_test.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
extend.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
external.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
family_v1.6_00000.h5 [svn-r10862] Purpose: Bug fix 2005-06-06 17:19:14 -05:00
family_v1.6_00001.h5 [svn-r10862] Purpose: Bug fix 2005-06-06 17:19:14 -05:00
family_v1.6_00002.h5 [svn-r10862] Purpose: Bug fix 2005-06-06 17:19:14 -05:00
family_v1.6_00003.h5 [svn-r10862] Purpose: Bug fix 2005-06-06 17:19:14 -05:00
fill_old.h5
fillval.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
flush1.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
flush2.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
gen_deflate.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
gen_filters.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
gen_new_array.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
gen_new_fill.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
gen_new_mtime.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
gen_new_super.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
gen_nullspace.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
gen_old_array.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
gen_old_layout.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
gen_old_mtime.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
getname.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
gheap.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
h5test.c [svn-r11364] Purpose: 2005-09-07 16:19:06 -05:00
h5test.h [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
hyperslab.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
istore.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
lheap.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
links.c [svn-r11304] Purpose: 2005-08-27 08:34:28 -05:00
Makefile.am [svn-r11319] Purpose: 2005-08-30 18:42:39 -05:00
Makefile.in [svn-r11323] Purpose: 2005-08-31 15:03:52 -05:00
mount.c [svn-r11304] Purpose: 2005-08-27 08:34:28 -05:00
mtime.c [svn-r11304] Purpose: 2005-08-27 08:34:28 -05:00
noencoder.h5
ntypes.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
ohdr.c [svn-r11384] Purpose: 2005-09-12 01:02:55 -05:00
pool.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
reserved.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
set_extent.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
sheap.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
space_overflow.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
stab.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
stream_test.c
tarray.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
tarrold.h5
tattr.c [svn-r11304] Purpose: 2005-08-27 08:34:28 -05:00
tbogus.h5
tconfig.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
test_filters_be.hdf5
test_filters_le.hdf5
testerror.sh [svn-r9780] Purpose: 2005-01-08 10:26:31 -05:00
testframe.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
testhdf5.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
testhdf5.h [svn-r11093] Purpose: 2005-07-21 09:48:26 -05:00
testmeta.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
tfile.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
tgenprop.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
th5s.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
th5s.h5
theap.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
tid.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
titerate.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
tlayouto.h5
tmeta.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
tmisc.c [svn-r11386] Purpose: 2005-09-12 09:29:54 -05:00
tmtimen.h5
tmtimeo.h5
trefer.c [svn-r11277] Purpose: 2005-08-20 11:32:55 -05:00
trefstr.c [svn-r11282] Purpose: 2005-08-20 13:09:28 -05:00
tselect.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
tskiplist.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
ttime.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
ttsafe_acreate.c [svn-r11365] Purpose: 2005-09-07 16:44:16 -05:00
ttsafe_cancel.c [svn-r11365] Purpose: 2005-09-07 16:44:16 -05:00
ttsafe_dcreate.c [svn-r11365] Purpose: 2005-09-07 16:44:16 -05:00
ttsafe_error.c [svn-r11276] Purpose: 2005-08-20 10:45:13 -05:00
ttsafe.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
ttsafe.h
ttst.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
tunicode.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
tvlstr.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
tvltypes.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00
unlink.c [svn-r11304] Purpose: 2005-08-27 08:34:28 -05:00
vfd.c [svn-r11245] Purpose: 2005-08-13 15:53:35 -05:00