|
From: | Philip Nienhuis |
Subject: | [Octave-bug-tracker] [bug #56511] tanh returns NaN for certain complex values in Windows under version 5.1.0 and 4.2.2 but not in Linux under 4.2.2. |
Date: | Tue, 18 Jun 2019 17:20:30 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48 |
Update of bug #56511 (project octave): Status: None => Confirmed Release: 5.1.0 => dev _______________________________________________________ Follow-up Comment #1: Confirmed with dev octave-6.0.0. A little trying out: >> tanh(355+1.0e-6*i) ans = 1.0000e+00 + 1.7905e-314i >> tanh(356+1.0e-6*i) ans = NaN I've seen this before with Fortran libraries a long time ago, then it was related to the (underlying) exp() library function but that is very probably not related here. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?56511> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |