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,15a453f8241a09c5 X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: Booelan Function and sizeof operator Date: 1996/04/10 Message-ID: #1/1 X-Deja-AN: 146885918 references: organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1996-04-10T00:00:00+00:00 List-Id: Emanuele asks " I would like to know, if I can find something similar to the C sizeof operator and boolean functions on integer in Ada. If this is not the case how could I write something equal in Ada?" sizeof correspond to 'Size in Ada boolean functions are available on unsigned types, but not on signed types in Ada (the effect of boolean functions on signed types in C is implementation defined, and Ada prefers not to introduce this particular implementation dependency).