comp.lang.ada
 help / color / mirror / Atom feed
From: John McCabe <jgm@hayling.cwmbran.gecm.com>
Subject: Re: Renaming Fixed Point Mutiplicative operator in Ada 95
Date: 1998/05/22
Date: 1998-05-22T00:00:00+00:00	[thread overview]
Message-ID: <6k3dj2$15e@gcsin3.geccs.gecm.com> (raw)
In-Reply-To: 356536FD.87A2B0A@praxis-cs.co.uk


Rod Chapman <rod@praxis-cs.co.uk> wrote:
>Robert Dewar wrote:
>
>> Incidentally, in a critical system, I would jolly well hope that EITHER
>>
>>  a) you prove that division by zero cannot happen
>>
>
>We've done that (for all exceptions) for several non-trivial SPARK programs.
>It's actually a useful exercise too!

I performed a similar exercise once but, rather than divide by zero, I 
had to prove that our program would not be affected by data dependencies 
in the floating point unit of a GPS MA31750 MIL-STD-1750A processor that 
would result in the wrong answer. It was quite interesting and saved a 
lot of effort in the long run!


-- 
Best Regards
John McCabe

=====================================================================
Any opinions expressed are mine and based on my own experience.  They
  should in no way be taken as the opinion of anyone I am currently
     working with, or of the company I am currently working for.
       If you have a problem with anything I say, SPEAK TO ME!
=====================================================================






  reply	other threads:[~1998-05-22  0:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-19  0:00 Renaming Fixed Point Mutiplicative operator in Ada 95 Stuart Hutchesson
1998-05-19  0:00 ` Matthew Heaney
1998-05-20  0:00   ` Robert Dewar
     [not found]     ` <matthew_heaney-ya023680002005981908570001@news.ni.net>
1998-05-21  0:00       ` Robert Dewar
1998-05-22  0:00         ` Robert I. Eachus
1998-05-23  0:00           ` Robert Dewar
     [not found]       ` <01bd84c3$47215d60$440029a1@m00rq900>
1998-05-21  0:00         ` Robert Dewar
1998-05-21  0:00         ` Matthew Heaney
1998-05-21  0:00         ` Robert Dewar
1998-05-21  0:00           ` Simon Pilgrim
1998-05-21  0:00             ` Matthew Heaney
1998-05-22  0:00               ` Robert I. Eachus
1998-05-22  0:00           ` Stuart Hutchesson
1998-05-22  0:00             ` Matthew Heaney
1998-05-23  0:00             ` Robert Dewar
1998-05-22  0:00           ` Rod Chapman
1998-05-22  0:00             ` John McCabe [this message]
1998-05-21  0:00       ` John McCabe
1998-05-21  0:00         ` Matthew Heaney
1998-05-21  0:00         ` Robert Dewar
replies disabled

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