From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ee7e80feb46de7ac X-Google-Attributes: gid103376,public From: eachus@spectre.mitre.org (Robert I. Eachus) Subject: Re: How to perform bit-wise xor, and...? Date: 1996/11/25 Message-ID: #1/1 X-Deja-AN: 200692222 distribution: inet references: <5747oa$svi@umacss1.umac.mo> organization: The Mitre Corp., Bedford, MA. newsgroups: comp.lang.ada Date: 1996-11-25T00:00:00+00:00 List-Id: In article <5747oa$svi@umacss1.umac.mo> d941686@sp2 (Leong San Io Francisco) writes: > My Ada compiler only provides xor, and operations for booleans and > not integers... If it doesn't provide them, then it is not a valid Ada compiler. Ada 83 also provided bit operations on boolean arrays, and many compiler vendors provided the wrappers needed to use them on integers. For example, Verdix (and SunAda) provide the package v_i_bits. Ada 95 adds bit operations on modular types. -- Robert I. Eachus with Standard_Disclaimer; use Standard_Disclaimer; function Message (Text: in Clever_Ideas) return Better_Ideas is...