help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Same .m file: different results with different versions of Octave


From: Ozzy Lash
Subject: Re: Same .m file: different results with different versions of Octave
Date: Wed, 21 Apr 2010 18:15:28 -0500



On Wed, Apr 21, 2010 at 6:04 PM, Thomas D. Dean <address@hidden> wrote:
Am I missing something?

sinhx = __ieee754_sinh (__real__ x);
coshx = __ieee754_cosh (__real__ x);
den = (sinhx*sinhx + cosix*cosix);


I think you are missing the line above this that supplies cosix:

__sincos (__imag__ x, &sinix, &cosix);

note that den is dependent on cosix, not coshx.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]