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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7009ff26a584c028 X-Google-Attributes: gid103376,public Path: g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail From: "Martin Dowie" Newsgroups: comp.lang.ada Subject: Re: Dimensions and fixed point types Date: Wed, 9 Jun 2004 08:47:29 +0100 Organization: BAE SYSTEMS Message-ID: <40c6bf5c_1@baen1673807.greenlnk.net> References: X-Trace: news.uni-berlin.de TIZ5AeXCR3Jct/NUphKR8gwFGCMYs9ixusMMzexYrk3S4+3Cqe X-Orig-Path: baen1673807.greenlnk.net!baen1673807!not-for-mail X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Original-NNTP-Posting-Host: baen1673807.greenlnk.net Xref: g2news1.google.com comp.lang.ada:1282 Date: 2004-06-09T08:47:29+01:00 List-Id: "Duncan Sands" wrote in message news:mailman.77.1086765132.391.comp.lang.ada@ada-france.org... > Fixed point types have a remarkable property: > you can multiply any two of them to get a third. > You can multiply apples and oranges and get > bananas. This goes against type safety. [snip] > function "*" (Left : Apples; Right : Oranges) return Banana; > pragma Import (Intrinsic, "*"); I think this is being addressed by the ARG in AI-364 http://www.ada-auth.org/cgi-bin/cvsweb.cgi/AIs/AI-00364.TXT?rev=1.6 Still a work item though...