Support for is_div() and is_idiv().