I found that in Sage 3.4, True * Integer(2) returns int(1) I think it would be better if the output were either 2 or a type error. This seems to be a problem with Sage integers, python integers work just fine.
Some more details: ---------------------------------------------------------------------- | Sage Version 3.4, Release Date: 2009-03-11 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- sage: True*1341234874 1 sage: True*int(1341234874) 1341234874 sage: type(True*1341234874) <type 'int'> --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---