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=-0.5 required=5.0 tests=BAYES_00,INVALID_MSGID, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,2d5d6ef785dd656e X-Google-Attributes: gid103376,public From: kst@thomsoft.com (Keith Thompson) Subject: Re: problemes mathematiques Date: 1996/11/21 Message-ID: #1/1 X-Deja-AN: 197776394 sender: news@thomsoft.com (USENET News Admin @flash) x-nntp-posting-host: pulsar references: <328A5934.1EED@itd.sterling.com> <3290750B.1D8B@worldnet.fr> <01bbd5f1$b994c530$262a6282@cln49ae> organization: Thomson Software Products, San Diego, CA, USA newsgroups: comp.lang.ada originator: kst@pulsar Date: 1996-11-21T00:00:00+00:00 List-Id: In <01bbd5f1$b994c530$262a6282@cln49ae> "Pascal Obry" writes: [...] > Ce ne sont pas des op�rateurs mais des fonctions que tu trouveras dans le > package Ada.Numerics.Elementary_Functions. > > racine carr�e x : Sqrt (x) > racine n i�me : Sqrt (x) / Sqrt (n) I presume "racine n i�me" is "nth root" (cube root, fourth root, etc.). The formula given above, Sqrt (x) / Sqrt (n), is incorrect. The correct formula is x ** 1.0/n (you'll have convert n to the appropriate floating-point type first). -- Keith Thompson (The_Other_Keith) kst@thomsoft.com <*> TeleSoft^H^H^H^H^H^H^H^H Alsys^H^H^H^H^H Thomson Software Products 10251 Vista Sorrento Parkway, Suite 300, San Diego, CA, USA, 92121-2706 FIJAGDWOL