comp.lang.ada
 help / color / mirror / Atom feed
From: Jaap Douma <J.Douma@Fokkerspace.nl>
To: Richard Paladino <rickp@bill.com>
Subject: Re: ones complement
Date: 1998/08/26
Date: 1998-08-26T00:00:00+00:00	[thread overview]
Message-ID: <35E3AAAD.1D858015@Fokkerspace.nl> (raw)
In-Reply-To: 35DD8731.F8E756AB@bill.com

Hello, i have the next two examples:

   -- image checksum is last 16 bits of ones complement of sum of 16-bit
bytes
   Srec_Image_Checksum := 16#FFFF# - Srec_Image_Checksum ;

   -- last 8 bits of ones complement of sum of bytes
   Sum := 16#Ff# - (Sum mod 16#100#) ;




 

Richard Paladino wrote:
> 
> Hello,
> 
> Is there an ada function for the c ~ function?
> 
> Thanks




  parent reply	other threads:[~1998-08-26  0:00 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-21  0:00 ones complement Richard Paladino
1998-08-21  0:00 ` Samuel Tardieu
1998-08-21  0:00   ` dennison
1998-08-21  0:00 ` Corey Ashford
1998-08-26  0:00 ` Jaap Douma
1998-08-26  0:00 ` Jaap Douma [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-05-22  4:54 Ada vs Fortran for scientific applications Nasser Abbasi
2006-05-22 13:02 ` Jean-Pierre Rosen
2006-05-22 15:23   ` Dan Nagle
2006-05-23  8:25     ` Jean-Pierre Rosen
2006-05-23 17:09       ` Dick Hendrickson
2006-05-24 14:50         ` robin
2006-05-24 15:19           ` Dick Hendrickson
2006-05-25  3:40             ` robin
2006-05-25  5:04               ` Nasser Abbasi
2006-05-25  6:04                 ` Richard Maine
     [not found]                   ` <20060712.7A4E6E0.D028@mojaveg.lsan.sisna <20060714.7A4E988.A30D@mojaveg.lsan.sisna.com>
2006-07-16  9:07                     ` glen herrmannsfeldt
2006-07-18  1:48                       ` ONES COMPLEMENT (was: Ada vs Fortran for scientific applications) robin
2006-07-18 18:41                         ` ONES COMPLEMENT glen herrmannsfeldt
2006-07-19 13:41                           ` robin
2006-07-22  0:09                           ` Richard Steiner
     [not found]                   ` <20060712.7A4E6E0.D028@mojaveg.lsan.sisna <20060717.7A4ADD0.10B1A@mojaveg.lsan.sisna.com>
2006-07-18 13:05                     ` ONES COMPLEMENT (was: Ada vs Fortran for scientific applications) Shmuel (Seymour J.) Metz
2006-07-19 11:18                       ` ONES COMPLEMENT Peter Flass
2006-07-19 17:14                         ` glen herrmannsfeldt
2006-07-19 23:43                           ` robin
2006-07-19 13:41                       ` robin
2006-07-19 17:11                       ` ONES COMPLEMENT (was: Ada vs Fortran for scientific applications) Everett M. Greene
2006-07-19 19:40                         ` Shmuel (Seymour J.) Metz
2006-07-20 16:46                           ` Everett M. Greene
2006-07-20 21:47                             ` Shmuel (Seymour J.) Metz
2006-07-21 17:23                               ` ONES COMPLEMENT glen herrmannsfeldt
2006-07-21 18:04                                 ` John W. Kennedy
2006-07-23  0:26                                   ` robin
2006-07-23  0:26                                 ` robin
2006-07-21 20:05                               ` glen herrmannsfeldt
2006-07-21 21:00                                 ` Dick Hendrickson
2006-07-22  6:19                                   ` glen herrmannsfeldt
2006-07-23  0:26                               ` robin
     [not found]                     ` <20060717.7A4ADD0.10B1A@mojaveg.lsan.sisna.com>
2006-07-19  6:54                       ` glen herrmannsfeldt
2006-07-19 12:47                         ` Tom Linden
2006-07-19 14:35                         ` robin
replies disabled

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