diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2000-05-08 22:29:07 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2000-05-08 22:29:07 (GMT) |
commit | 96c529af87fced0de58b3d9e09ae1fc376cba73d (patch) | |
tree | 508515669984cd0795261f8309d7241c220b9846 /doc | |
parent | dca5c02b3140197e1f7a5ebbd177875959121739 (diff) | |
download | hdf5-96c529af87fced0de58b3d9e09ae1fc376cba73d.zip hdf5-96c529af87fced0de58b3d9e09ae1fc376cba73d.tar.gz hdf5-96c529af87fced0de58b3d9e09ae1fc376cba73d.tar.bz2 |
[svn-r2219] This simplifies the "check for power of 2" in the hashing function. There
was also a subtle bug in the previous code. A valid size of 16K would
have been rejected since it was checking for an invalid number. The
scheme that replaces it relies on the fact that powers of two and only
powers of two have 1 bit set in binary.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions