diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2005-03-04 23:10:49 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2005-03-04 23:10:49 (GMT) |
commit | 7e0e9edc44c94ba8424228422a4a037dfd88fbb4 (patch) | |
tree | 275398970beccd03a62217ecd2a9bef258546391 /src | |
parent | c153ca4d5e5bb7c3bff99b44494f632b4cbf2759 (diff) | |
download | hdf5-7e0e9edc44c94ba8424228422a4a037dfd88fbb4.zip hdf5-7e0e9edc44c94ba8424228422a4a037dfd88fbb4.tar.gz hdf5-7e0e9edc44c94ba8424228422a4a037dfd88fbb4.tar.bz2 |
[svn-r10150] Purpose: A new way to do conversion test
Description: This is the first step of changing conversion test. This checkin is only for conversion
between integers. Instead of filling source buffer with randomly generated bit pattern, this new way
uses more sensible bit patterns. It's easier to see using "char" as source for example. The bit patterns
will be
00000001, 00000010, 00000100, 00001000, 00010000, 00100000, 01000000, 10000000
00000000, 00000011, 00000111, 00001111, 00011111, 00111111, 01111111, 11111111
11111111, 11111110, 11111100, 11111000, 11110000, 11100000, 11000000, 10000000
The main point of this way is to avoid casting and comparison between source and destination types by
compiler. The bit patterns will cover positive maximum and minimum, negative maximum and minimum if
the source is signed integer.
Platforms tested: h5committest and fuss.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions