octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #29432] Sin(1e22) is wrong


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #29432] Sin(1e22) is wrong
Date: Wed, 07 Apr 2010 20:36:54 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100308 Iceweasel/3.5.8 (like Firefox/3.5.8)

Follow-up Comment #7, bug #29432 (project octave):

Should we really add this one test?  I mean, do you really want to start
adding tests for all C library functions in the Octave test suite?  I suppose
that would be OK, but maybe we should use a more systematic approach and
create a lot of tests for library functions and clearly mark them as tests for
system library functions, so any failures there should be reported to whoever
is maintaining the library function, not to us.  But even then, the results of
those tests are only going to be seen by the people who build Octave and run
the tests.  The Octave users will still see the errors, without any clue that
the problem is in a library function.

Or, how about just reporting this particular bug?

Also, 1e22 seems like a rather large argument for sin.  Does this really come
up a lot?  I'm just curious about this point.  I'm not trying to say that it
isn't important that the function is correct, just wondering wtf you are doing
if you are computing the sine of 1e22...

Also, you can simply write

  %!assert (...)

instead of

  %!test
  %! assert (...)


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?29432>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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