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_00,FREEMAIL_FROM, MAILING_LIST_MULTI,PP_MIME_FAKE_ASCII_TEXT autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,def7fa127a74c721 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-22 07:59:19 PST Path: newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!opentransit.net!jussieu.fr!enst!enst.fr!not-for-mail From: Wilhelm.Spickermann@t-online.de (Wilhelm Spickermann) Newsgroups: comp.lang.ada Subject: RE: Sign of tanh ??? Date: Sun, 22 Apr 2001 16:56:14 +0200 (CEST) Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-Trace: avanie.enst.fr 987951558 8172 137.194.161.2 (22 Apr 2001 14:59:18 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Sun, 22 Apr 2001 14:59:18 +0000 (UTC) To: comp.lang.ada@ada.eu.org Return-Path: X-Mailer: XFMail 1.4.0 on Linux X-Priority: 3 (Normal) In-Reply-To: <3AE1707E.BB379E3E@mail.utexas.edu> X-Sender: 0211750756-0001@t-dialin.net Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: newsfeed.google.com comp.lang.ada:6838 Date: 2001-04-22T16:56:14+02:00 On 21-Apr-01 Bobby D. Bryant wrote: > Isn't tanh supposed to preserve the sign of its argument? Sure. But I get the result 0.46212 -0.46212 and I use the gnat-3.13p-5 rpm (from ALT) too. Perhaps it�s the C-library. Gnat uses the C-Library to compute the tanh (if the result cannot be easily found to be -1.0 1.0 or the argument). Does the problem occur in C too? Wilhelm