Date: Wed, 13 May 1998 11:49:15 +0300 (IDT) From: Eli Zaretskii To: Francois Charton cc: Jens Bischoff , djgpp AT delorie DOT com Subject: Re: Code to Fix sinh() in libm.a In-Reply-To: <355855B4.4BA9@pobox.oleane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.