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.2 required=5.0 tests=BAYES_00,FROM_DOMAIN_NOVOWEL, INVALID_DATE,MSGID_SHORT,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site sdcrdcf.UUCP Path: utzoo!watmath!clyde!cbosgd!ukma!psuvm.bitnet!psuvax1!burdvax!sdcrdcf!markb From: markb@sdcrdcf.UUCP (Mark Biggar) Newsgroups: net.lang.ada Subject: Re: Questions about Ada Message-ID: <2610@sdcrdcf.UUCP> Date: Wed, 5-Feb-86 13:13:52 EST Article-I.D.: sdcrdcf.2610 Posted: Wed Feb 5 13:13:52 1986 Date-Received: Fri, 7-Feb-86 21:03:35 EST References: <2608@sdcrdcf.UUCP> Reply-To: markb@sdcrdcf.UUCP (Mark Biggar) Organization: System Development Corporation R&D, Santa Monica List-Id: In article <2608@sdcrdcf.UUCP> steve@sdcrdcf.UUCP (Steven Holtsberg) writes: >(1) In the reference manual, on page 8-10, it says that overloading >is defined for subprograms, enumeration literals, operators, and single entries > >However, I do not know what "single entries" are, and I cannot >find a definition in the manual. > >Does anyone know the definition of a "single entry"? I took this to mean that a tasks entires can be overloaded independently and not as a group. >(2) On page 3-20 of the reference manual, the canonical form for >any floating point number other than zero is given as > >sign * mantissa * (radix ** exponent) > >My question: Why is radix given as a parameter? >Isn't the radix, by definition, two? NO, the radix of a floating constant is programmer specifiably. The default for a constant like 1.3E-3 is radix 10, but if you say constant value 16#E.0#E1 14*(16**1)=224.0 2#1.1111_1111_111#E11 1.1111_1111_111 *(2**11) = 4095.0 base 2 The radix of the internal representation for FLOAT constants is implementation defined. Mark Biggar {allegra,burdvax,cbosgd,hplabs,ihnp4,akgua,sdcsvax}!sdcrdcf!markb