hdf5/src
Quincey Koziol 6d8dd9c504 [svn-r7875] Purpose:
Omnibus floating-point bug fix changes

Description:
    There are a number of problems in the floating-point conversion code that
were exposed by Ray's recent int<->float checkin:
    - The 'my_isnan' code in test/dtypes.c was broken and would always return
        true.  The meant that the actual values in the float<->float conversion
        tests were _never_ checked, hiding the other bugs included in this
        checkin.
    - A recent change I made to the type conversion code used "FLT_MIN" instead
        of "-FLT_MAX" for the most negative 'float' value for the double->float
        conversion, which meant that any the negative number that was converted
        from a double to a float would have been mapped to zero, essentially.
    - A change that Robb appeared to have made ~2.5 years ago to the "generic"
        float->float conversion routine appears to be incorrect and I've backed
        it out.
    - Floating-point conversions on SGI's which converted denormalized values
        would be mapped to zero instead of being propertly preserved in the new
        type.  This was addressed by an SGI-specific system call to prevent the
        behavior.

Solution:
    Described above, generally.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest

Misc. update:
    release_docs/RELEASE update forthcoming...
2003-11-24 11:47:18 -05:00
..
.indent.pro
Dependencies [svn-r7626] Purpose: 2003-10-14 10:46:38 -05:00
H5.c [svn-r7626] Purpose: 2003-10-14 10:46:38 -05:00
H5A.c [svn-r7538] Purpose: 2003-10-05 16:12:26 -05:00
H5AC.c [svn-r7696] Purpose: 2003-10-22 16:02:26 -05:00
H5ACprivate.h [svn-r7489] Purpose: 2003-09-18 14:27:27 -05:00
H5ACpublic.h
H5api_adpt.h
H5Apkg.h
H5Aprivate.h
H5Apublic.h
H5B.c [svn-r7489] Purpose: 2003-09-18 14:27:27 -05:00
H5Bpkg.h
H5Bprivate.h
H5Bpublic.h
H5config.h.in [svn-r7875] Purpose: 2003-11-24 11:47:18 -05:00
H5CS.c [svn-r7845] Purpose: 2003-11-13 13:15:39 -05:00
H5CSprivate.h
H5D.c [svn-r7829] Purpose: 2003-11-08 10:32:53 -05:00
H5Dcompact.c
H5Dcontig.c [svn-r7763] Purpose: 2003-10-28 09:40:09 -05:00
H5detect.c [svn-r7358] Purpose: 2003-08-13 09:32:29 -05:00
H5Dio.c [svn-r7842] Purpose: 2003-11-13 10:19:50 -05:00
H5Distore.c [svn-r7763] Purpose: 2003-10-28 09:40:09 -05:00
H5Dpkg.h
H5Dprivate.h [svn-r7384] Purpose: 2003-08-19 09:44:45 -05:00
H5Dpublic.h
H5Dseq.c [svn-r7746] Purpose: 2003-10-27 13:18:08 -05:00
H5DZ.c [svn-r7838] Purpose: 2003-11-12 18:02:00 -05:00
H5DZtrans.c [svn-r7838] Purpose: 2003-11-12 18:02:00 -05:00
H5E.c [svn-r7829] Purpose: 2003-11-08 10:32:53 -05:00
H5Edefin.h [svn-r7494] Purpose: 2003-09-19 12:20:01 -05:00
H5Einit.h [svn-r7494] Purpose: 2003-09-19 12:20:01 -05:00
H5Eprivate.h [svn-r7364] Purpose: 2003-08-14 08:44:59 -05:00
H5Epubgen.h [svn-r7494] Purpose: 2003-09-19 12:20:01 -05:00
H5Epublic.h [svn-r7527] Purpose: 2003-09-30 11:20:46 -05:00
H5err.txt [svn-r7489] Purpose: 2003-09-18 14:27:27 -05:00
H5Eterm.h [svn-r7494] Purpose: 2003-09-19 12:20:01 -05:00
H5F.c [svn-r7860] Purpose: 2003-11-20 09:36:59 -05:00
H5Fcompact.c
H5Fcontig.c [svn-r7763] Purpose: 2003-10-28 09:40:09 -05:00
H5FD.c [svn-r7818] Purpose: 2003-11-06 08:40:37 -05:00
H5Fdbg.c
H5FDcore.c [svn-r7386] Purpose: 2003-08-20 12:49:13 -05:00
H5FDcore.h
H5FDfamily.c [svn-r7386] Purpose: 2003-08-20 12:49:13 -05:00
H5FDfamily.h
H5FDfphdf5.c [svn-r7838] Purpose: 2003-11-12 18:02:00 -05:00
H5FDfphdf5.h [svn-r7789] Purpose: 2003-10-29 14:32:36 -05:00
H5FDgass.c [svn-r7387] Purpose: 2003-08-21 13:24:28 -05:00
H5FDgass.h
H5FDlog.c [svn-r7398] Purpose: 2003-08-25 14:15:41 -05:00
H5FDlog.h
H5FDmpio.c [svn-r7860] Purpose: 2003-11-20 09:36:59 -05:00
H5FDmpio.h [svn-r7789] Purpose: 2003-10-29 14:32:36 -05:00
H5FDmpiposix.c [svn-r7860] Purpose: 2003-11-20 09:36:59 -05:00
H5FDmpiposix.h
H5FDmulti.c [svn-r7507] *** empty log message *** 2003-09-24 14:26:50 -05:00
H5FDmulti.h [svn-r7393] Purpose: 2003-08-23 10:55:06 -05:00
H5FDprivate.h [svn-r7818] Purpose: 2003-11-06 08:40:37 -05:00
H5FDpublic.h [svn-r7317] Purpose: 2003-08-08 14:17:40 -05:00
H5FDsec2.c [svn-r7411] Purpose: 2003-08-26 10:03:03 -05:00
H5FDsec2.h
H5FDsrb.c [svn-r7398] Purpose: 2003-08-25 14:15:41 -05:00
H5FDsrb.h
H5FDstdio.c [svn-r7507] *** empty log message *** 2003-09-24 14:26:50 -05:00
H5FDstdio.h
H5FDstream.c [svn-r7411] Purpose: 2003-08-26 10:03:03 -05:00
H5FDstream.h
H5Fistore.c [svn-r7763] Purpose: 2003-10-28 09:40:09 -05:00
H5FL.c [svn-r7417] Purpose: 2003-08-27 09:00:50 -05:00
H5FLprivate.h
H5FO.c [svn-r7428] Purpose: 2003-08-28 11:30:51 -05:00
H5FOprivate.h [svn-r7428] Purpose: 2003-08-28 11:30:51 -05:00
H5FP.c [svn-r7836] Purpose: 2003-11-12 15:19:39 -05:00
H5FPclient.c [svn-r7847] Purpose: 2003-11-13 15:05:56 -05:00
H5Fpkg.h [svn-r7860] Purpose: 2003-11-20 09:36:59 -05:00
H5FPprivate.h [svn-r7805] Purpose: 2003-10-31 16:46:58 -05:00
H5FPpublic.h
H5Fprivate.h [svn-r7784] *** empty log message *** 2003-10-29 12:04:58 -05:00
H5FPserver.c [svn-r7847] Purpose: 2003-11-13 15:05:56 -05:00
H5Fpublic.h [svn-r7559] Purpose: 2003-10-07 08:32:32 -05:00
H5FS.c [svn-r7845] Purpose: 2003-11-13 13:15:39 -05:00
H5Fseq.c [svn-r7746] Purpose: 2003-10-27 13:18:08 -05:00
H5FSprivate.h
H5G.c [svn-r7638] Purpose: 2003-10-15 15:02:51 -05:00
H5Gent.c [svn-r7489] Purpose: 2003-09-18 14:27:27 -05:00
H5Gnode.c [svn-r7498] Purpose: 2003-09-19 15:13:47 -05:00
H5Gpkg.h [svn-r7391] Purpose: 2003-08-22 08:50:01 -05:00
H5Gprivate.h [svn-r7871] Purpose: 2003-11-21 15:13:17 -05:00
H5Gpublic.h [svn-r7561] Purpose: 2003-10-07 10:27:19 -05:00
H5Gstab.c [svn-r7489] Purpose: 2003-09-18 14:27:27 -05:00
H5HG.c [svn-r7842] Purpose: 2003-11-13 10:19:50 -05:00
H5HGdbg.c [svn-r7467] Purpose: 2003-09-11 11:45:54 -05:00
H5HGpkg.h
H5HGprivate.h [svn-r7538] Purpose: 2003-10-05 16:12:26 -05:00
H5HGpublic.h
H5HL.c [svn-r7498] Purpose: 2003-09-19 15:13:47 -05:00
H5HLdbg.c [svn-r7467] Purpose: 2003-09-11 11:45:54 -05:00
H5HLpkg.h [svn-r7489] Purpose: 2003-09-18 14:27:27 -05:00
H5HLprivate.h [svn-r7489] Purpose: 2003-09-18 14:27:27 -05:00
H5HLpublic.h
H5HP.c
H5HPprivate.h
H5I.c [svn-r7871] Purpose: 2003-11-21 15:13:17 -05:00
H5Ipkg.h
H5Iprivate.h [svn-r7871] Purpose: 2003-11-21 15:13:17 -05:00
H5Ipublic.h [svn-r7784] *** empty log message *** 2003-10-29 12:04:58 -05:00
H5MF.c
H5MFprivate.h
H5MM.c [svn-r7829] Purpose: 2003-11-08 10:32:53 -05:00
H5MMprivate.h [svn-r7829] Purpose: 2003-11-08 10:32:53 -05:00
H5MMpublic.h
H5MPprivate.h [svn-r7798] Purpose: 2003-10-30 17:52:57 -05:00
H5O.c [svn-r7572] Purpose: 2003-10-08 12:58:58 -05:00
H5Oattr.c [svn-r7538] Purpose: 2003-10-05 16:12:26 -05:00
H5Obogus.c [svn-r7538] Purpose: 2003-10-05 16:12:26 -05:00
H5Ocont.c [svn-r7538] Purpose: 2003-10-05 16:12:26 -05:00
H5Odtype.c [svn-r7616] Purpose: 2003-10-13 14:31:33 -05:00
H5Oefl.c [svn-r7538] Purpose: 2003-10-05 16:12:26 -05:00
H5Ofill.c [svn-r7842] Purpose: 2003-11-13 10:19:50 -05:00
H5Olayout.c [svn-r7538] Purpose: 2003-10-05 16:12:26 -05:00
H5Omtime.c [svn-r7538] Purpose: 2003-10-05 16:12:26 -05:00
H5Oname.c [svn-r7538] Purpose: 2003-10-05 16:12:26 -05:00
H5Onull.c [svn-r7538] Purpose: 2003-10-05 16:12:26 -05:00
H5Opkg.h [svn-r7538] Purpose: 2003-10-05 16:12:26 -05:00
H5Opline.c [svn-r7538] Purpose: 2003-10-05 16:12:26 -05:00
H5Oprivate.h [svn-r7561] Purpose: 2003-10-07 10:27:19 -05:00
H5Opublic.h [svn-r7561] Purpose: 2003-10-07 10:27:19 -05:00
H5Osdspace.c [svn-r7538] Purpose: 2003-10-05 16:12:26 -05:00
H5Oshared.c [svn-r7538] Purpose: 2003-10-05 16:12:26 -05:00
H5Ostab.c [svn-r7538] Purpose: 2003-10-05 16:12:26 -05:00
H5P.c [svn-r7373] Purpose: 2003-08-15 15:07:18 -05:00
H5Pdcpl.c [svn-r7453] Purpose: 2003-09-10 10:31:11 -05:00
H5Pdxpl.c
H5Pfapl.c [svn-r7725] Purpose: 2003-10-24 14:39:23 -05:00
H5Pfcpl.c [svn-r7397] Snapshot version 1.7 release 1 2003-08-24 03:42:43 -05:00
H5Ppkg.h
H5Pprivate.h
H5Ppublic.h [svn-r7379] Purpose: 2003-08-18 11:29:33 -05:00
H5private.h [svn-r7872] Purpose: 2003-11-21 16:57:09 -05:00
H5Ptest.c
H5public.h [svn-r7831] Snapshot version 1.7 release 10 2003-11-09 03:06:07 -05:00
H5R.c [svn-r7626] Purpose: 2003-10-14 10:46:38 -05:00
H5Rprivate.h
H5Rpublic.h [svn-r7318] Purpose: 2003-08-08 14:20:57 -05:00
H5RS.c
H5RSprivate.h
H5S.c [svn-r7789] Purpose: 2003-10-29 14:32:36 -05:00
H5Sall.c
H5Shyper.c [svn-r7826] Purpose: 2003-11-08 09:16:04 -05:00
H5Smpio.c [svn-r7794] Purpose: 2003-10-30 16:38:16 -05:00
H5Snone.c
H5Spkg.h
H5Spoint.c [svn-r7259] Purpose: 2003-07-23 16:18:40 -05:00
H5Sprivate.h [svn-r7789] Purpose: 2003-10-29 14:32:36 -05:00
H5Spublic.h
H5Sselect.c
H5ST.c
H5Stest.c
H5STprivate.h
H5T.c [svn-r7875] Purpose: 2003-11-24 11:47:18 -05:00
H5Tarray.c [svn-r7436] Snapshot version 1.7 release 2 2003-08-31 03:33:11 -05:00
H5TB.c [svn-r7489] Purpose: 2003-09-18 14:27:27 -05:00
H5Tbit.c [svn-r7871] Purpose: 2003-11-21 15:13:17 -05:00
H5TBprivate.h
H5Tcommit.c [svn-r7538] Purpose: 2003-10-05 16:12:26 -05:00
H5Tcompound.c [svn-r7626] Purpose: 2003-10-14 10:46:38 -05:00
H5Tconv.c [svn-r7875] Purpose: 2003-11-24 11:47:18 -05:00
H5Tcset.c [svn-r7438] Purpose: 2003-09-02 10:04:36 -05:00
H5Tenum.c [svn-r7626] Purpose: 2003-10-14 10:46:38 -05:00
H5Tfields.c [svn-r7616] Purpose: 2003-10-13 14:31:33 -05:00
H5Tfixed.c [svn-r7614] Purpose: 2003-10-13 14:26:04 -05:00
H5Tfloat.c [svn-r7614] Purpose: 2003-10-13 14:26:04 -05:00
H5Tnative.c [svn-r7616] Purpose: 2003-10-13 14:31:33 -05:00
H5Toffset.c [svn-r7444] Purpose: 2003-09-04 09:40:21 -05:00
H5Topaque.c [svn-r7440] Purpose: 2003-09-03 12:05:23 -05:00
H5Torder.c [svn-r7440] Purpose: 2003-09-03 12:05:23 -05:00
H5Tpad.c [svn-r7440] Purpose: 2003-09-03 12:05:23 -05:00
H5Tpkg.h [svn-r7875] Purpose: 2003-11-24 11:47:18 -05:00
H5Tprecis.c [svn-r7438] Purpose: 2003-09-02 10:04:36 -05:00
H5Tprivate.h [svn-r7538] Purpose: 2003-10-05 16:12:26 -05:00
H5Tpublic.h [svn-r7616] Purpose: 2003-10-13 14:31:33 -05:00
H5TS.c [svn-r7305] Purpose: 2003-08-08 13:58:50 -05:00
H5TSprivate.h [svn-r7265] *** empty log message *** 2003-07-25 21:55:47 -05:00
H5Tstrpad.c [svn-r7438] Purpose: 2003-09-02 10:04:36 -05:00
H5Tvlen.c [svn-r7842] Purpose: 2003-11-13 10:19:50 -05:00
H5V.c [svn-r7238] Purpose: 2003-07-17 10:57:53 -05:00
H5Vprivate.h [svn-r7238] Purpose: 2003-07-17 10:57:53 -05:00
H5Z.c [svn-r7626] Purpose: 2003-10-14 10:46:38 -05:00
H5Zdeflate.c [svn-r7237] Purpose: 2003-07-17 10:57:08 -05:00
H5Zfletcher32.c [svn-r7384] Purpose: 2003-08-19 09:44:45 -05:00
H5Zpkg.h
H5Zprivate.h
H5Zpublic.h
H5Zshuffle.c [svn-r7384] Purpose: 2003-08-19 09:44:45 -05:00
H5Zszip.c [svn-r7820] Purpose: 2003-11-06 08:43:02 -05:00
hdf5.h [svn-r7367] Purpose: 2003-08-14 19:30:21 -05:00
hdf5.lnt [svn-r7614] Purpose: 2003-10-13 14:26:04 -05:00
libhdf5.settings.in
Makefile.in [svn-r7355] Purpose: 2003-08-12 20:58:10 -05:00