This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How to determine that 2.0 == (float) 2 in a front-end.
- From: dewar at gnat dot com (Robert Dewar)
- To: pkoning at equallogic dot com, tej at melbpc dot org dot au
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 1 Jul 2002 00:21:44 -0400 (EDT)
- Subject: Re: How to determine that 2.0 == (float) 2 in a front-end.
Note that 2.0 ** N can be done almost instantly by just setting the right exponent
It might well be worth special casing this one.