This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Comparing doubles
Lars Brinkhoff <lars.spam@nocrew.org> writes:
> > Lars Brinkhoff <lars@nocrew.org> writes:
> > > would it be acceptable for a GCC back end to compare two doubles
> > > by subtracting them, converting the result to float, and then
> > > compare the result against zero?
> Geoff Keating <geoffk@geoffk.org> writes:
> > If you define __STDC_IEC_559__, no.
> That is now the case.
Sorry, NOT the case.
--
Lars Brinkhoff http://lars.nocrew.org/ Linux, GCC, PDP-10,
Brinkhoff Consulting http://www.brinkhoff.se/ HTTP programming