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,2c498d4a35691643 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!f14g2000cwb.googlegroups.com!not-for-mail From: "ldb" Newsgroups: comp.lang.ada Subject: Re: Allocated aligned arrays Date: 18 Nov 2005 14:31:52 -0800 Organization: http://groups.google.com Message-ID: <1132353112.226494.256380@f14g2000cwb.googlegroups.com> References: <1132349753.719540.119910@g44g2000cwa.googlegroups.com> <1132351560.528877.151360@g49g2000cwa.googlegroups.com> NNTP-Posting-Host: 206.210.81.52 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1132353117 5062 127.0.0.1 (18 Nov 2005 22:31:57 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 18 Nov 2005 22:31:57 +0000 (UTC) In-Reply-To: <1132351560.528877.151360@g49g2000cwa.googlegroups.com> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/416.11 (KHTML, like Gecko) Safari/416.12,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: f14g2000cwb.googlegroups.com; posting-host=206.210.81.52; posting-account=V3awPg0AAAB11Uk1Sshvlrxz0peUf-At Xref: g2news1.google.com comp.lang.ada:6470 Date: 2005-11-18T14:31:52-08:00 List-Id: However, if I do that, won't that essentially break every current implementation of Matrix already in the code? (The code isn't small, and it's a very commonly used datatype... ). Ie, is that going to require me to overload +, -, etc to work with Real and Floats, etc? And/or functions that pass in a float, currently, will need to be overloaded to also work with real, and so on? That seems like alot of work just to get a memory allocation that is 8 bytes farther north or south. Is there any other way, or I am up a creek?