comp.lang.ada
 help / color / mirror / Atom feed
From: Jacob Sparre Andersen <sparre@nbi.dk>
Subject: Re: bitwise operations in Ada95
Date: Thu, 19 Jul 2001 11:03:12 +0200
Date: 2001-07-19T11:03:12+02:00	[thread overview]
Message-ID: <3B56A250.95C8C588@nbi.dk> (raw)
In-Reply-To: 3B55B4A1.56150A4B@nbi.dk

I wrote:

> Aquaman:
> 
> > My question would be for a way to do bit shifting operations (vs. & |)
> > so for example shift left and shift right for use in mathmatical mult and div
> > opperations
> 
> "*2" and "/2" works fine for me for that purpose (on modular
> types).

[...]

But, as Sune wrote, package Interfaces contains functions
that do the same job.

Jacob (slightly embarrassed)
-- 
"Nobody writes jokes in base 13."
 Douglas Adams



  reply	other threads:[~2001-07-19  9:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-18  1:28 bitwise operations in Ada95 Vladimir Bednikov
2001-07-18  2:43 ` tmoran
2001-07-18  9:50 ` Lutz Donnerhacke
2001-07-18 15:42   ` Aquaman
2001-07-18 16:09     ` Jacob Sparre Andersen
2001-07-19  9:03       ` Jacob Sparre Andersen [this message]
2001-07-18 20:17     ` Sune Falck
replies disabled

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