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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5be080195a921f51,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-24 00:39:57 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: vashwath@rediffmail.com (prashna) Newsgroups: comp.lang.ada Subject: What this program is going to do? Date: 24 Jul 2003 00:39:57 -0700 Organization: http://groups.google.com/ Message-ID: NNTP-Posting-Host: 203.90.112.53 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1059032397 2014 127.0.0.1 (24 Jul 2003 07:39:57 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 24 Jul 2003 07:39:57 GMT Xref: archiver1.google.com comp.lang.ada:40750 Date: 2003-07-24T07:39:57+00:00 List-Id: function PART_ENT ( X : in FLOAT ) return FLOAT is R : FLOAT; begin -- Attention imprecision pour .5 R := FLOAT (INTEGER (abs X)); -- Round to Zero afin de corriger l'imprecision if R > abs X then R := R - 1.0; end if; -- Signe du resultat if X >= 0.0 then return R; else return - R; end if; end PART_ENT; I found this program in source code of my project(code review).Can any one explain what this program does?