@@ -6875,7 +6875,8 @@ test_bfloat16(void)
6875
6875
6876
6876
if (type_prec != 16 ) {
6877
6877
H5_FAILED ();
6878
- printf ("Datatype precision for H5T_FLOAT_BFLOAT16LE was incorrect (expected 16, got %zu)\n" , type_prec );
6878
+ printf ("Datatype precision for H5T_FLOAT_BFLOAT16LE was incorrect (expected 16, got %zu)\n" ,
6879
+ type_prec );
6879
6880
goto error ;
6880
6881
}
6881
6882
@@ -6887,7 +6888,8 @@ test_bfloat16(void)
6887
6888
6888
6889
if (type_prec != 16 ) {
6889
6890
H5_FAILED ();
6890
- printf ("Datatype precision for H5T_FLOAT_BFLOAT16BE was incorrect (expected 16, got %zu)\n" , type_prec );
6891
+ printf ("Datatype precision for H5T_FLOAT_BFLOAT16BE was incorrect (expected 16, got %zu)\n" ,
6892
+ type_prec );
6891
6893
goto error ;
6892
6894
}
6893
6895
@@ -6923,7 +6925,8 @@ test_bfloat16(void)
6923
6925
6924
6926
if (lsb_pad != H5T_PAD_ZERO || msb_pad != H5T_PAD_ZERO ) {
6925
6927
H5_FAILED ();
6926
- printf ("Datatype padding type for H5T_FLOAT_BFLOAT16LE was incorrect (expected H5T_PAD_ZERO, got lsb pad "
6928
+ printf ("Datatype padding type for H5T_FLOAT_BFLOAT16LE was incorrect (expected H5T_PAD_ZERO, got lsb "
6929
+ "pad "
6927
6930
"type %d, msb pad type %d)\n" ,
6928
6931
lsb_pad , msb_pad );
6929
6932
goto error ;
@@ -6937,7 +6940,8 @@ test_bfloat16(void)
6937
6940
6938
6941
if (lsb_pad != H5T_PAD_ZERO || msb_pad != H5T_PAD_ZERO ) {
6939
6942
H5_FAILED ();
6940
- printf ("Datatype padding type for H5T_FLOAT_BFLOAT16BE was incorrect (expected H5T_PAD_ZERO, got lsb pad "
6943
+ printf ("Datatype padding type for H5T_FLOAT_BFLOAT16BE was incorrect (expected H5T_PAD_ZERO, got lsb "
6944
+ "pad "
6941
6945
"type %d, msb pad type %d)\n" ,
6942
6946
lsb_pad , msb_pad );
6943
6947
goto error ;
@@ -7031,7 +7035,8 @@ test_bfloat16(void)
7031
7035
7032
7036
if (inpad != H5T_PAD_ZERO ) {
7033
7037
H5_FAILED ();
7034
- printf ("Datatype unused bits padding type for H5T_FLOAT_BFLOAT16LE was incorrect (expected H5T_PAD_ZERO, "
7038
+ printf ("Datatype unused bits padding type for H5T_FLOAT_BFLOAT16LE was incorrect (expected "
7039
+ "H5T_PAD_ZERO, "
7035
7040
"got pad type %d)\n" ,
7036
7041
inpad );
7037
7042
goto error ;
@@ -7045,7 +7050,8 @@ test_bfloat16(void)
7045
7050
7046
7051
if (inpad != H5T_PAD_ZERO ) {
7047
7052
H5_FAILED ();
7048
- printf ("Datatype unused bits padding type for H5T_FLOAT_BFLOAT16BE was incorrect (expected H5T_PAD_ZERO, "
7053
+ printf ("Datatype unused bits padding type for H5T_FLOAT_BFLOAT16BE was incorrect (expected "
7054
+ "H5T_PAD_ZERO, "
7049
7055
"got pad type %d)\n" ,
7050
7056
inpad );
7051
7057
goto error ;
@@ -7116,8 +7122,8 @@ test_bfloat16(void)
7116
7122
goto error ;
7117
7123
}
7118
7124
7119
- if ((dset_id = H5Dcreate2 (fid , "Dataset" , H5T_FLOAT_BFLOAT16LE , space_id , H5P_DEFAULT , dcpl_id , H5P_DEFAULT )) <
7120
- 0 ) {
7125
+ if ((dset_id = H5Dcreate2 (fid , "Dataset" , H5T_FLOAT_BFLOAT16LE , space_id , H5P_DEFAULT , dcpl_id ,
7126
+ H5P_DEFAULT )) < 0 ) {
7121
7127
H5_FAILED ();
7122
7128
AT ();
7123
7129
printf ("Can't create dataset\n" );
0 commit comments