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,45a9122ddf5fcf5 X-Google-Attributes: gid103376,public From: dewar@schonberg.cs.nyu.edu (Robert Dewar) Subject: Re: Rules for Representation of Subtypes Date: 1996/10/06 Message-ID: #1/1 X-Deja-AN: 187923813 references: <1996Sep28.155354.1@eisner> <1996Sep29.082143.1@eisner> organization: New York University newsgroups: comp.lang.ada Date: 1996-10-06T00:00:00+00:00 List-Id: Bob Duff said "It depends on how you instantiated my_unchecked_conversion. If you used a constrained integer, such that some values of Y will produce out-of-range results, then it's erroneous, and the 'Valid will *not* work. Hence, my advice to always unchecked_convert to types that match the hardware." I don't see this, please give an exact example of what you are talking about, and then exactly justify your statement above from the Ada 95 RM.