Bug in tanh?



 tanh(1.0d3)
  gives a stack overflow error in wxmaxima 0.7.1

The answer should be 1.0d0.

The computation of tanh(x) by using exp(x) is a bad idea.


RJF


> -----Original Message-----
> From: maxima-bounces at math.utexas.edu 
> [mailto:maxima-bounces at math.utexas.edu] On Behalf Of sen1 at math.msu.edu
> Sent: Sunday, March 18, 2007 2:49 PM
> To: Bowo Prasetyo
> Cc: maxima at math.utexas.edu
> Subject: Re: [Maxima] Maxima show-case
> 
> Hi Bowo,
>   I think your site is a very nice addition for enabling a larger
>   community to use maxima.
> 
>   I plan to tell members in my Dept about it.  It gives a 
> very painless
>   and easy for new users to get some experience with maxima.
> 
> Thanks for doing this.
> 
> -sen
> 
>   
> --------------------------------------------------------------
> -------------
>   | Sheldon E. Newhouse            |    e-mail: 
> sen1 at math.msu.edu           |
>   | Mathematics Department         |       			
> 	   |
>   | Michigan State University      | telephone: 517-355-9684  
>               |
>   | E. Lansing, MI 48824-1027 USA  |       FAX: 517-432-1562  
>               |
>   
> --------------------------------------------------------------
> -------------
> 
> On Sun, 18 Mar 2007, Bowo Prasetyo wrote:
> 
> > Dear all,
> >
> > I am now creating an online 'show-case' to show the power 
> of Maxima to
> > the world. It can be reached here..
> >
> > http://www.my-tool.com/maximaphp/
> >
> > Currently it contains:
> > 1. 'Algebra Simplify' that employs various simplification 
> functions to
> > simplify mathematic expression as much as possible.
> > 2. 'Cellular Automata' that generates and plots cellular 
> automata with
> > various rules and initial conditions.
> >
> > I plan to add more if I have time.. please enjoy it.. :)
> >
> > Best regards,
> > bowo
> > _______________________________________________
> > Maxima mailing list
> > Maxima at math.utexas.edu
> > http://www.math.utexas.edu/mailman/listinfo/maxima
> >
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>