comp.lang.ada
 help / color / mirror / Atom feed
From: soren rundgren <soren.m.rundgren@gmail.com>
Subject: From_string(Arg : String) return Big_Integer
Date: Sat, 9 Jan 2021 07:16:57 -0800 (PST)	[thread overview]
Message-ID: <c4cce4e8-8b69-4a0a-b628-921c1b845dcfn@googlegroups.com> (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?

             reply	other threads:[~2021-01-09 15:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-09 15:16 soren rundgren [this message]
2021-01-09 17:00 ` From_string(Arg : String) return Big_Integer 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
replies disabled

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