Skip to content

doctest fix for infinities break the hash contract #19928

@rwst

Description

@rwst
sage: hash(-oo)
-9223372036854775808
sage: hash(SR(-oo))
1390175631
sage: hash(oo)
9223372036854775807
sage: hash(SR(oo))
1577573780
sage: hash(unsigned_infinity)
9223372036854775806
sage: hash(SR(unsigned_infinity))
2904791665

Fixed in pynac/pynac#126

Component: symbolics

Author: Ralf Stephan

Branch/Commit: 9eb6d88

Reviewer: Travis Scrimshaw

Issue created by migration from https://trac.sagemath.org/ticket/19928

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions