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=2.1 required=5.0 tests=BAYES_20,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ac48cedaf5c5cba3,start X-Google-Attributes: gid103376,public From: shedlars@oasys.dt.navy.mil (Paul Shedlarski) Subject: Integer truncation and other recipes Date: 1996/05/22 Message-ID: <4nv3tmINNql5@oasys.dt.navy.mil>#1/1 X-Deja-AN: 156137209 organization: Carderock Division, NSWC, Bethesda, MD reply-to: shedlars@oasys.dt.navy.mil (Paul Shedlarski) newsgroups: comp.lang.ada Date: 1996-05-22T00:00:00+00:00 List-Id: In Ada, how do you convert from a real to an integer by truncation? That is, how would you convert a value such as 1.9 to 1? Moreover, is there a book of recipes that anyone can recommend for development of a math library for Ada? Most of us have a background in FORTRAN. Thanks. Paul Shedlarski (code 5600) David Taylor Model Basin CARDEROCKDIV, NSWC Bethesda, MD 20084