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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,fc647120984c9ad2,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!postnews.google.com!j44g2000cwa.googlegroups.com!not-for-mail From: "AAFellow@hotmail.com" Newsgroups: comp.lang.ada Subject: Way to use Ada Mod function on floats? Date: 1 Dec 2006 07:32:48 -0800 Organization: http://groups.google.com Message-ID: <1164987168.477589.240140@j44g2000cwa.googlegroups.com> NNTP-Posting-Host: 155.104.37.17 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1164987178 26682 127.0.0.1 (1 Dec 2006 15:32:58 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 1 Dec 2006 15:32:58 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: j44g2000cwa.googlegroups.com; posting-host=155.104.37.17; posting-account=_J4P3w0AAACnNF4AML-QgJSZOcM37xcL Xref: g2news2.google.com comp.lang.ada:7776 Date: 2006-12-01T07:32:48-08:00 List-Id: Hi guys, I need to perform the mod operation on floats. Does anyone know of a simple way to do this in Ada? It seems the mod function is only for integers. I can probably multiply out the decimal places, and then divide my answer back, but if there is a more simple way that saves computations, I'd rather do that. Thank you for any help you can provide! AA