------- Comment #13 from tkoenig at gcc dot gnu dot org 2007-03-18 19:46 ------- (In reply to comment #12) > Created an attachment (id=13227) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13227&action=view) [edit] > New patch > > New patch, without the compile-time hog for complex.
This is looking really good. It survived everything I could think of throwing at it. If you want to, you could use mpz_congruent_2exp_p and mpz_cdiv_q_2exp for checking for an even number and for dividing by two for a (probaly very minor) gain in efficiency. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30834