comp.lang.ada
 help / color / mirror / Atom feed
From: Larry Hazel <lhhazel@otelco.net>
Subject: Re: New limited range type?
Date: Fri, 07 Nov 2003 17:31:05 -0600
Date: 2003-11-07T17:31:05-06:00	[thread overview]
Message-ID: <CWVqb.1824$X5.23233@eagle.america.net> (raw)
In-Reply-To: <boh71f$sht$1@sparta.btinternet.com>

Martin Dowie wrote:

> "Larry Hazel" <lhhazel@otelco.net> wrote in message
> news:l%Sqb.1767$X5.22782@eagle.america.net...
> 
>>>You could argue that the case "A := B + C - D," for these 'limited
>>>range' types _can_only_ be equivilent to "A := (B + C) - D;".
>>>
>>
>>An analog computer implements saturating arithmetic.  Oh my God, how
>>long has it been since anyone saw an analog computer.  The sum B + C - D
>>would be computed all at once and would only saturate if the final
>>result was out of range.  So, I think the expression should be evaluated
>>in a base type with saturation applied to the result.
> 
> 
> or, how about lets not and support the 99.99999999999999999999999etc%
> digital world only! :-)
> 
> Is there an Ada (any variant) compiler for an analogue computer?..
> 
> 
I seriously doubt you will find any kind of compiler that will correctly 
wire an analog patchboard.  But I surely could have used one in the 60s 
and 70s.




  reply	other threads:[~2003-11-07 23:31 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-07 15:51 New limited range type? Martin Dowie
2003-11-07 15:57 ` Hyman Rosen
2003-11-07 16:20   ` Martin Dowie
2003-11-07 16:36     ` Stephane Richard
2003-11-07 16:59     ` Hyman Rosen
2003-11-07 18:18       ` Martin Dowie
2003-11-07 20:11         ` Larry Hazel
2003-11-07 22:40           ` Martin Dowie
2003-11-07 23:31             ` Larry Hazel [this message]
2003-11-12  8:22       ` Jean-Pierre Rosen
2003-11-12 15:00         ` Hyman Rosen
2003-11-12 15:34           ` Robert I. Eachus
2003-11-12 17:37             ` tmoran
2003-11-07 18:19   ` Mike Silva
2003-11-07 19:03   ` Marin David Condic
2003-11-07 18:05 ` Mike Silva
2003-11-08 21:58   ` Nick Roberts
2003-11-09 14:34     ` Martin Dowie
2003-11-11  5:13       ` Nick Roberts
2003-11-11 10:18         ` Martin Dowie
2003-11-11 10:35         ` Martin Dowie
2003-11-11 10:41           ` Lutz Donnerhacke
2003-11-11 12:37             ` Marin David Condic
2003-11-11 14:19             ` Martin Dowie
2003-11-11 12:34           ` Marin David Condic
replies disabled

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