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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f43e6,5ac12f5a60b1bfe X-Google-Attributes: gidf43e6,public X-Google-Thread: 103376,5ac12f5a60b1bfe X-Google-Attributes: gid103376,public X-Google-Thread: 101deb,87f6968ed41c9df1 X-Google-Attributes: gid101deb,public From: ok@goanna.cs.rmit.edu.au (Richard A. O'Keefe) Subject: Re: Multiple reasons for failure of Ariane 5 (was: Re: Ariane 5 - not an exception?) Date: 1996/08/23 Message-ID: <4vjv1e$8c6@goanna.cs.rmit.edu.au>#1/1 X-Deja-AN: 175916253 references: <4ta0iu$kks@goanna.cs.rmit.edu.au> <4u538f$9q6@hacgate2.hac.com> <4u6723$kp2@piglet.cc.uic.edu> <4uibvh$1p76@news-s01.ny.us.ibm.net> <4vgkt1$s2v@goanna.cs.rmit.edu.au> <4vjea6$gj7@goanna.cs.rmit.edu.au> organization: Comp Sci, RMIT, Melbourne, Australia newsgroups: comp.software-eng,comp.lang.ada,comp.lang.pl1 nntp-posting-user: ok Date: 1996-08-23T00:00:00+00:00 List-Id: rav@goanna.cs.rmit.edu.au (++ robin) writes: >---It doesn't make me look silly because I didn't ask >the question. I was pointing out the problems people >have in writing codes in that language. Do you have >a problem with that? But people do NOT have a problem with using the square root in Ada. with Ada.Numerics.Elementary_Functions; use Ada.Numerics.Elementary_Functions; ... X := Sqrt(Y); -- Ada This is admittedly more verbose than #include ... X = sqrt(Y); /* C */ which is again more verbose than ... X := Sqrt(Y); (* Pascal *) but it's a price that need be paid but once at the top of a file. In the last year I have frequently used Sqrt in Ada code and found it to be no trouble at all. At least with Gnat I don't have to worry about that "-lm" nonsense you get in C. >>I have a simple question. I am using a VAX ada compiler. I would like ******* There is the problem. The questioner was using a compiler for Ada 83, and was *not* looking in the right manuals, because DEC Ada provides access to at least the core VMS libraries, which includes the MATH$ library. -- Australian citizen since 14 August 1996. *Now* I can vote the xxxs out! Richard A. O'Keefe; http://www.cs.rmit.edu.au/~ok; RMIT Comp.Sci.