MathGroup Archive 1991

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

Search the Archive

Tanh

  • To: mathgroup at yoda.ncsa.uiuc.edu
  • Subject: Tanh
  • From: Stephen Wolfram <swolf>
  • Date: Sat, 2 Mar 91 14:58:04 -0600

printf("%g %g\n", tanh(-1.73287), tanh(-1.73288));

in a minimal C program on a NeXT under OS version 2.0 shows a 
discontinuity.

Mathematica (apparently mistakenly) relies on built-in math functions.

Stephen Wolfram <swolf at dragonfly.wri.com>
>From mathgroup-adm at yoda.ncsa.uiuc.edu Sun Mar  3 05:33:44 1991
Received: from yoda.ncsa.uiuc.edu by dragonfly.wri.com with SMTP id AA15204
  (5.65+/IDA-1.3.4 for cat >> /users/swolf/Mail/incoming); Sun, 3 Mar 91 05:33:44 -0600
Received: by yoda.ncsa.uiuc.edu id AA19424
  (5.64+/IDA-1.3.4 for ); Sun, 3 Mar 91 01:00:00 -0600
Received: by yoda.ncsa.uiuc.edu id AA19420
  (5.64+/IDA-1.3.4 for /usr/lib/sendmail -odq -oi -fmathgroup-adm at yoda.ncsa.uiuc.edu mathgroup-out); Sun, 3 Mar 91 00:59:59 -0600
Message-Id: <9103030659.AA19420 at yoda.ncsa.uiuc.edu>
Date: Fri, 1 Mar 91 23:14:01 EST
From: "Alfred Gray" <gray at athena.umd.edu>
Subject: Bug in Tanh.
To: mathgroup at ncsa.uiuc.edu


I do get a bug in graphing Tanh from -3 to 3 when I use operating
system 2.0 on a NeXT.  On the other hand, it graphs OK on a Sun.
Since Seamen gets no bug under operating system 1.0 of the NeXT,
I conclude that the problem must be between the interface of Mathematica
and the 2.0 Operating system.
(The same bug also occurs in my beta version Mathematica2.0 for the NeXT).

Alfred Gray




  • Prev by Date: Re: Bug in Tanh.
  • Next by Date: Bug in Tanh[x] (summary and speculation)
  • Previous by thread: Re: Bug in Tanh.
  • Next by thread: Bug in Tanh[x] (summary and speculation)