source
vaton
0.1.0Verified Ascii To Number conversion written in Ada/SPARK
0.1.0
This library offers formally verified functions to convert character streams into the smallest standard type representation the resulting number may fit in. The allowed formats are based on the JSON-Number format, with the addition to allow single underscores between digits.
Note: Only decimal based numbers are supported!
Examples:
-10_000 -> Standard.Integer
1.0 -> Standard.Float
1e4 -> Standard.Float