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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,75c440b4b7ed5f91 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder3.cambrium.nl!feeder5.cambrium.nl!feed.tweaknews.nl!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Real Time IO routines References: <1193410739.367181.96050@50g2000hsm.googlegroups.com> <1193416987.425545.80810@v29g2000prd.googlegroups.com> <1193417619.216687.95600@v3g2000hsg.googlegroups.com> <1193418278.033289.106280@y27g2000pre.googlegroups.com> <1193419270.872928.86840@57g2000hsv.googlegroups.com> Date: Fri, 26 Oct 2007 20:36:08 +0200 Message-ID: <873avxg1uv.fsf@ludovic-brenta.org> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:+s+vNTJ6HC/WGCWMBLrP+LR8K8U= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Tele2 X-Trace: DXC=S=^mNVd58mL`^::nj0N64D6`Y6aWje^YJnX^E0Je9A=4DdV@@aSb3mW andrew writes: > Time_Unit is defined as a constant := 10#1.0#E-9, is Time_Unit then > a "real literal"? How can I convert a "real literal" to a scalar > type (maybe that's a contradiction?)? Real literals are of the type universal_real which (a) is scalar and (b) converts implicitly to any other floating-point type. Does that answer your question? -- Ludovic Brenta.