On Thursday, September 22, 2022 at 5:29:41 AM UTC+2 Travis Scrimshaw wrote:

> No, it is not. The generic fraction field can only reduce something up to 
> a unit since the gcd is defined up to a unit. I agree it looks funny, but I 
> don't see a sensible way to code to get a negative sign in the numerator. 
>

Rings could define canonical units where that makes sense. This is how Nemo 
does it, for example: http://nemocas.github.io/Nemo.jl/stable/fraction/

Fredrik 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/1e75085b-c721-4ba5-9517-190e1a8fba23n%40googlegroups.com.

Reply via email to