<div id="comment:0"></div> In #22079 `floor/ceil` gets a new implementation. Symbolic arguments are not checked with `is_integer` however so we get ``` sage: var('x',domain='integer') x sage: floor(x) floor(x) sage: ceil(x) ceil(x) ``` Inserting that check (if not is_numeric) would immediately simplify a class of expressions. Component: **symbolics** Author: **Ralf Stephan** Branch/Commit: **[`fcd36b8`](https://github.com/sagemath/sagetrac-mirror/commit/fcd36b863c24e69c0c7a83967428e43f99ade580)** Reviewer: **Bryan Gin-ge Chen** _Issue created by migration from https://trac.sagemath.org/ticket/24365_