On Saturday, June 9, 2018 at 7:44:45 AM UTC-7, William wrote:
>
>
> Fortunately, for sage floats // is an error, rather than a wrong answer: 
>
> sage: 2.5 // 3.5 
> TypeError: unsupported operand parent(s) for //: 'Real Field with 53 
> bits of precision' and 'Real Field with 53 bits of precision' 
>
> And in fact, so it is in magma for rational numbers:

> (1/2) div (1/3);
Runtime error in 'div': Bad argument types
Argument types given: FldRatElt, FldRatElt

That has never bitten me (suggesting that not having "//" defined on QQ in 
sage might work too).

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to