-
-
Notifications
You must be signed in to change notification settings - Fork 723
Closed
Milestone
Description
The hash() function applied to a single algebraic real may give different results at different times:
sage: foo = sqrt(AA(4))
sage: hash(foo)
-1289340516
sage: foo == 2
True
sage: hash(foo)
2105051955
(I plan to fix this problem very soon.)
Component: basic arithmetic
Issue created by migration from https://trac.sagemath.org/ticket/841