comp.lang.ada
 help / color / mirror / Atom feed
* From_string(Arg : String) return Big_Integer
@ 2021-01-09 15:16 soren rundgren
  2021-01-09 17:00 ` AdaMagica
  0 siblings, 1 reply; 11+ messages in thread
From: soren rundgren @ 2021-01-09 15:16 UTC (permalink / raw)


This piece of code compile with no warnings;
   S: constant Big_Integer := 4547337172376300111955330758342147474062293202868155909489;
   T: constant Big_Integer := 4547337172376300111955330758342147474062293202868155909393;

However the runtime message is
raised CONSTRAINT_ERROR : bad input for 'Value: "4547337172376300111955330758342147474062293202868155909489"
[2021-01-09 15:58:43] process exited with status 1, elapsed time: 00.21s

Any ideas why?

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-01-10 16:33 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-09 15:16 From_string(Arg : String) return Big_Integer soren rundgren
2021-01-09 17:00 ` AdaMagica
2021-01-09 20:09   ` soren rundgren
2021-01-09 20:09   ` soren rundgren
2021-01-09 20:11   ` soren rundgren
2021-01-09 22:13     ` DrPi
2021-01-09 23:40       ` Jeffrey R. Carter
2021-01-10  9:46       ` Dmitry A. Kazakov
2021-01-10 15:48         ` DrPi
2021-01-10 16:02           ` Dmitry A. Kazakov
2021-01-10 16:33             ` DrPi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox