delorie.com/archives/browse.cgi | search |
Date: | Wed, 13 May 1998 11:49:15 +0300 (IDT) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
To: | Francois Charton <deef AT pobox DOT oleane DOT com> |
cc: | Jens Bischoff <j DOT bischoff AT airbus DOT dasa DOT de>, djgpp AT delorie DOT com |
Subject: | Re: Code to Fix sinh() in libm.a |
In-Reply-To: | <355855B4.4BA9@pobox.oleane.com> |
Message-ID: | <Pine.SUN.3.91.980513114738.26082E-100000@is> |
MIME-Version: | 1.0 |
On Tue, 12 May 1998, Francois Charton wrote: > Another solution for approximating sinh(x) would be to remember that > sinh(x) = exp(x)/2 - 1/(2*exp(x)) IMHO, this is not good enough, since it will blow up prematurely for large arguments: when exp(x) overflows, sinh(x) not necessarily does so, but the above implementation will cause it to.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |