#11779: python ints vs sage ints with respect to powers weirdness
------------------------+---------------------------------------------------
Reporter: dimpase | Owner: AlexGhitza
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.7.2
Component: coercion | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: Dmitrii Pasechnik
Merged: | Dependencies:
------------------------+---------------------------------------------------
Comment(by klee):
Replying to [comment:17 dimpase]:
> well, being an algebraist by training and active in this research area
for over 20 years, I tend to think that I know how to distinguish a binary
operation from something else. And in my (not so in this case) humble
opinion I think that exponentiation is a binary operation in this case.
Then you know that multiplication is a basic binary operation of a ring,
but exponentiation is simply a notation involving two values, one from the
ring, the other from integers.
> Look, I know an opinion on this issue of a lot of unhappy beginning
users of Sage (the undergrads I currently teach), and they
> are dazed and confused by this inconsistency, among others. And I am
merely trying to make Sage easier to use for them on this ticket.
The right direction for beginners is to let them know the difference
between `int(3)` and `3` (Sage Integer) and that `3` behaves more
mathematically than `int(3)` which suffers from numerical treatment.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11779#comment:18>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.