Re: qsort() results: implementation dependent?



[...]
The simpler version has a bug, as has already been
explained. Now: Is that bug an artifact of the simplification
process, or is it also present in the original?

If you refer to the undefined behaviour, yes, I have tried to test the
code dropping out eps. I have got a different point list but it is
still wrong. As I have already explained above, I have the possibility
to visually check if the point list is correct or not.

The line

return 0.;

was just a typing error here.

Bye
Max

.



Relevant Pages

  • Re: qsort() results: implementation dependent?
    ... The simpler version has a bug, ... Is that bug an artifact of the simplification ... code dropping out eps. ...
    (comp.lang.c)
  • [announce] Ne.W.T - 1.2.0 released
    ... * sound support ... closed bug #13 ... reserve artifact #15 for lizard only ... changelog is redundant ...
    (rec.games.roguelike.nethack)
  • [announce] Ne.W.T - 1.2.0 released
    ... * sound support ... closed bug #13 ... reserve artifact #15 for lizard only ... changelog is redundant ...
    (rec.games.roguelike.announce)
  • Re: Python bug tracker now secret?
    ... Artifact: This Artifact Has Been Made Private. ... View Private ArtifactTypes. ... I'm being denied access to bug reports I submitted, ... So it's not a general SourceForge bug. ...
    (comp.lang.python)
  • Re: [crawl] xp issues?
    ... NIm wrote: ... > artifact that keeps you from getting xp? ... no bug. ... I found it in the lair, so if anyone has found anything ...
    (rec.games.roguelike.misc)