answered 2025-07-15 00:31:06 +0200
Here is what I see with sage-10.7.beta8:
(For what it's worth, frac(-2.3) outputs -0.300000000000000.)
frac(-2.3)
-0.300000000000000