Path: csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Tim Rentsch
Newsgroups: comp.lang.c
Subject: Re: How to use a struct with qsort()?
Date: Wed, 23 Oct 2019 04:51:27 -0700
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <86imofhe80.fsf@linuxsc.com>
References: <06add10e-1e30-4741-a20c-ff56363733fe@googlegroups.com> <60434cb2-a003-454b-890f-f2121004bd22@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: reader02.eternal-september.org; posting-host="09129d99e56165cafc27964696c7f4e6"; logging-data="30185"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Yenq77voEXnmlWoDH8libE3v6ejg15Dk="
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux)
Cancel-Lock: sha1:aLuPzP9CCkNH8kGOfEUVf1NXK5g= sha1:s9LCSsYGFp5HSneSzvdpGTGrf8s=
Xref: csiph.com comp.lang.c:147170
already5chosen@yahoo.com writes:
> [...] floating-point rarely produces an exact equality.
Floating-point often produces an exact equality. The problem is
it often doesn't produce equality when that is expected, and
sometimes vice versa.