[cfe-commits] r63264 - /cfe/trunk/lib/AST/ExprConstant.cpp
Neil Booth
neil at daikokuya.co.uk
Thu Jan 29 12:17:04 PST 2009
Daniel Dunbar wrote:-
> Author: ddunbar
> Date: Wed Jan 28 19:32:56 2009
> New Revision: 63264
>
> URL: http://llvm.org/viewvc/llvm-project?rev=63264&view=rev
> Log:
> Add folding for complex mul and fix some major bugs in complex float
> evaluation (alternate part of real/imag init was being set to 3 not 0
> because the wrong APFloat constructor was being called).
> - Test cases coming once some more support is in.
Of course, this code is not ideal, since e.g. it overflows unnecessarily
in many cases, and rounds incorrectly in 50% (?) of cases.
Neil.
More information about the cfe-commits
mailing list