-
-
Notifications
You must be signed in to change notification settings - Fork 805
Closed
Description
I think floor and ceil and truncate should return integers.
sage: floor(2).parent()
Integer Ring
sage: floor(2.0).parent()
Integer Ring
sage: floor(RIF(2.0)).parent()
Real Interval Field with 53 bits of precision
CC: @ncalexan
Component: basic arithmetic
Keywords: floor truncate ceil ceiling parent integer
Reviewer: Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/2472
Reactions are currently unavailable