Ada scale exceeds maximum value of 18

Dear Ada Enthusiasts,

type Long_Money_Type is delta 10.0**(-22) digits 38;

On The First Machine Ubuntu Linux 64 bit GNAT 8.3.0 this works.
On The Second Machine Alpine Linux 64 Bit GNAT 10.3.1 20211027 i get this error: scale exceeds maximum value of 18 digits value out of range, maximum is 18

Is There an way to change the maximum value ?


  • This problem doesn’t occur with GCC 11 and later, so it looks as though you need to upgrade.