diff --git a/c++/src/H5PredType.cpp b/c++/src/H5PredType.cpp index df26b98b489..7212f06917c 100644 --- a/c++/src/H5PredType.cpp +++ b/c++/src/H5PredType.cpp @@ -158,6 +158,7 @@ PredType *PredType::FLOAT_F8E4M3_; PredType *PredType::FLOAT_F8E5M2_; PredType *PredType::FLOAT_F6E2M3_; PredType *PredType::FLOAT_F6E3M2_; +PredType *PredType::FLOAT_F4E2M1_; PredType *PredType::UNIX_D32BE_; PredType *PredType::UNIX_D32LE_; @@ -352,6 +353,7 @@ PredType::makePredTypes() FLOAT_F8E5M2_ = new PredType(H5T_FLOAT_F8E5M2); FLOAT_F6E2M3_ = new PredType(H5T_FLOAT_F6E2M3); FLOAT_F6E3M2_ = new PredType(H5T_FLOAT_F6E3M2); + FLOAT_F4E2M1_ = new PredType(H5T_FLOAT_F4E2M1); UNIX_D32BE_ = new PredType(H5T_UNIX_D32BE); UNIX_D32LE_ = new PredType(H5T_UNIX_D32LE); @@ -512,6 +514,7 @@ PredType::deleteConstants() delete FLOAT_F8E5M2_; delete FLOAT_F6E2M3_; delete FLOAT_F6E3M2_; + delete FLOAT_F4E2M1_; delete UNIX_D32BE_; delete UNIX_D32LE_; @@ -676,6 +679,7 @@ const PredType &PredType::FLOAT_F8E4M3 = *FLOAT_F8E4M3_; const PredType &PredType::FLOAT_F8E5M2 = *FLOAT_F8E5M2_; const PredType &PredType::FLOAT_F6E2M3 = *FLOAT_F6E2M3_; const PredType &PredType::FLOAT_F6E3M2 = *FLOAT_F6E3M2_; +const PredType &PredType::FLOAT_F4E2M1 = *FLOAT_F4E2M1_; const PredType &PredType::UNIX_D32BE = *UNIX_D32BE_; const PredType &PredType::UNIX_D32LE = *UNIX_D32LE_; diff --git a/c++/src/H5PredType.h b/c++/src/H5PredType.h index 45d403fd990..d962e7d0a3a 100644 --- a/c++/src/H5PredType.h +++ b/c++/src/H5PredType.h @@ -98,6 +98,7 @@ class H5CPP_DLL PredType : public AtomType { static const PredType &FLOAT_F8E5M2; static const PredType &FLOAT_F6E2M3; static const PredType &FLOAT_F6E3M2; + static const PredType &FLOAT_F4E2M1; static const PredType &UNIX_D32BE; static const PredType &UNIX_D32LE; @@ -275,6 +276,7 @@ class H5CPP_DLL PredType : public AtomType { static PredType *FLOAT_F8E5M2_; static PredType *FLOAT_F6E2M3_; static PredType *FLOAT_F6E3M2_; + static PredType *FLOAT_F4E2M1_; static PredType *UNIX_D32BE_; static PredType *UNIX_D32LE_; diff --git a/doxygen/dox/DDLBNF200.dox b/doxygen/dox/DDLBNF200.dox index 6ba1f2a39cd..0bea24ce0a2 100644 --- a/doxygen/dox/DDLBNF200.dox +++ b/doxygen/dox/DDLBNF200.dox @@ -102,8 +102,9 @@ This section contains a brief explanation of the symbols used in the DDL. H5T_FLOAT_BFLOAT16BE | H5T_FLOAT_BFLOAT16LE | H5T_FLOAT_F8E4M3 | H5T_FLOAT_F8E5M2 | H5T_FLOAT_F6E2M3 | H5T_FLOAT_F6E3M2 | - H5T_NATIVE_FLOAT16 | H5T_NATIVE_FLOAT | - H5T_NATIVE_DOUBLE | H5T_NATIVE_LDOUBLE + H5T_FLOAT_F4E2M1 | H5T_NATIVE_FLOAT16 | + H5T_NATIVE_FLOAT | H5T_NATIVE_DOUBLE | + H5T_NATIVE_LDOUBLE