I saw two topics related to this error:
and
but none oh them seems to solve my problem or mention that the problem will be solved in a future version.
I'm trying to initialize a float array with one value that does not fit in the float type, e.g: float record_input_type_float_array[...] = { 6.0222125053465465432132165463231562311E-45,161.9800415039, ... }
and compilers returns the following error: error #223: floating-point value does not fit in required floating-point type
On many cases my values will not fit in the float type, but I was expecting to get a rounded value in the float type (like others compilers), instead of getting a compilation error.
I also tried to suppress this error #223 with the --diag_warning=225, but without success. Is there any workaround?
I'm using ccsv5 - c6000_7.4.2 (compiler)
Regards,