comp.lang.ada
 help / color / mirror / Atom feed
From: austin.obyrne769@btinternet.com
Subject: Re: Integer Overflow Question.
Date: Mon, 25 Aug 2014 08:09:16 -0700 (PDT)
Date: 2014-08-25T08:09:16-07:00	[thread overview]
Message-ID: <df800c4a-79b4-4af7-ba36-6656a86fca8a@googlegroups.com> (raw)
In-Reply-To: <55b1078f-dc26-4ae0-ac9f-5af0bfd90992@googlegroups.com>

On Monday, August 25, 2014 2:34:29 PM UTC+1, Aay Jay Chan wrote:
> From the fact that you don't know how big your types are, it sounds like you are using pre-defined types. In Ada, the prefered way is to define your own types with the range that matches your requirements. That way, you will know, at compile time, whether the compiler can implement those types on the target platform.

That has been done in a Validation program - many thanks

  reply	other threads:[~2014-08-25 15:09 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-25 11:21 Integer Overflow Question austin.obyrne769
2014-08-25 11:46 ` G.B.
2014-08-25 12:58   ` austin.obyrne769
2014-08-25 13:09     ` Simon Clubley
2014-08-25 13:29       ` austin.obyrne769
2014-08-25 13:44         ` Simon Clubley
2014-08-25 13:34     ` Aay Jay Chan
2014-08-25 15:09       ` austin.obyrne769 [this message]
2014-08-25 17:02       ` austin.obyrne769
2014-08-25 17:21         ` Simon Wright
2014-08-25 17:56           ` austin.obyrne769
2014-08-25 19:38           ` austin.obyrne769
2014-08-25 17:40         ` Simon Clubley
2014-08-25 18:09           ` austin.obyrne769
2014-08-25 12:20 ` gautier_niouzes
2014-08-25 12:54   ` austin.obyrne769
replies disabled

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