On Tue, Feb 2, 2010 at 9:26 PM, Dima Pasechnik <dimp...@gmail.com> wrote: > ... > sage: abs(M.determinant()) > Expected: > 712483534798848 > Got: > 7.12483534798848e14
I vaguely remember that M.det() is only well-defined up to sign. You could rewrite the test to avoid abs, but I'm wondering if abs is the reason scientific notation is used here. Do you know? > > I can use an if to fix the sign, but them I am afraid I miss some > obvious > better way... > > Thanks, > Dima > > -- > To post to this group, send an email to sage-devel@googlegroups.com > To unsubscribe from this group, send an email to > sage-devel+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/sage-devel > URL: http://www.sagemath.org > -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org