MathGroup Archive 1991

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Bug in Tanh[x]

	Someone must have found this bug previously, but there is
	a nasty bug in Tanh[x] (in version 1.* on a NeXT).
	Just try 
	to _see_ what I mean. (I always though tanh(x) was continuous :-)
	Fortunately, its easy to write your own "tanh[x]":
	tanh[x_] := (Exp[x] - Exp[-x])/(Exp[x] + Exp[-x])
	which works fine.
	NeXT 1.2 (Januuary 20, 1990) 
I tried this using Mathematica 1.2 on a NeXT (under 1.0) and I see no problem.
The two plots are identical (both nicely continuous).

Dave Seaman

  • Next by Date: Re: A few questions
  • Next by thread: Re: A few questions