As @mhatzl suggests, I open this topic to discuss about: [REQ] Support for fixed-point numbers · Issue #3 · mhatzl/vaton · GitHub
For those not familiar, Vaton is a “verified ASCII to number conversion written in Ada/SPARK.”
This lib currently supports the following types:
IntegerrepresentingStandard.IntegerLong_IntegerrepresentingStandard.Long_IntegerLong_Long_IntegerrepresentingStandard.Long_Long_IntegerBig_IntegerrepresentingAda.Numerics.Big_Numbers.Big_Integers.Valid_Big_IntegerFloatrepresentingStandard.FloatLong_FloatrepresentingStandard.Long_FloatLong_Long_FloatrepresentingStandard.Long_Long_FloatBig_RealrepresentingAda.umerics.Big_Numbers.Big_Reals.Valid_Big_Real
I would like to also be able to support fixed-point, but we do not find a way to have a proven fixed-point conversion.
As someone have ideas how to do it?