* tests on these numbers like is_integer() etc... */
/*
- * GiNaC Copyright (C) 1999-2000 Johannes Gutenberg University Mainz, Germany
+ * GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
}
e2 = test_int1 + a;
- if (ex_to_numeric(e2).is_integer()) {
+ if (e2.info(info_flags::integer)) {
clog << "expression " << e2
<< " erroneously recognized as integer" << endl;
++result;