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 X-Google-Thread: 103376,a9b55bb56f6172ed,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-23 04:12:44 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: jsuarezrivaya@yahoo.es (Jorge Su?rez-Sol?s Rivaya) Newsgroups: comp.lang.ada Subject: problems with log function Date: 23 Dec 2003 04:12:44 -0800 Organization: http://groups.google.com Message-ID: <61f665c0.0312230412.6086c787@posting.google.com> NNTP-Posting-Host: 213.141.58.34 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1072181564 29657 127.0.0.1 (23 Dec 2003 12:12:44 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 23 Dec 2003 12:12:44 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:3749 Date: 2003-12-23T04:12:44-08:00 List-Id: hi, this is my first post. First of all 'hi' to every body, my name is Jorge and Im from Spain. I have a problem with the log function. I have made an instantion of the generic package Ada.Numerics.Generic_Elementary_Function for Floats something like this: package Math is new Ada.Numerics.Generic_Elementary_Function(Float); use Math; and when i use it a say: log(Y) Y is a float of course. I do not have any compilation problem, but when I execute it I get an Ada.Numerics.Argument_Error if Y is higher than 1.0 I do not understand it. Please HELP ME Thanks all Jorge Su�rez-Sol�s Rivaya