From octave-maintainers-request at bevo dot che dot wisc dot edu Thu Feb 1 20:37:35 2001 Subject: Re: ISO C++ and Octave From: "John W. Eaton" To: Mumit Khan Cc: octave-maintainers at bevo dot che dot wisc dot edu, khan@xraylith.wisc.edu Date: Thu, 1 Feb 2001 20:37:29 -0600 On 1-Feb-2001, Mumit Khan wrote: | Speaking of Sun Workshop, I get the following: | | octave> sqrt (-1) | ans = 6.1232e-17 + 1.0000e+00i | | Obviously this doesn't tests like ``sqrt (-1) == 1i'' and tests fail. | | octave> eps | 2.2204e-16 | | Ideas? Nope. That looks pretty bad. Sort of like octave:6> sin (pi) ans = 1.2246e-16 (would it really hurt to make this a special case?). jwe