Skip to content

bug in comparisons of infinite values #13326

@xcaruso

Description

@xcaruso
sage: if log(2)*Infinity == Infinity: print "Hello"
....: 
type = 214729600
** Hit STUB**: invalid type: is_zero() type not handled
terminate called after throwing an instance of 'std::runtime_error'
  what():  stub

------------------------------------------------------------------------
Unhandled SIGABRT: An abort() occurred in Sage.
This probably occurred because a *compiled* component of Sage has a bug
in it and is not properly wrapped with sig_on(), sig_off(). You might
want to run Sage under gdb with 'sage -gdb' to debug this.
Sage will now terminate.
------------------------------------------------------------------------

Depends on #18362

Component: symbolics

Keywords: comparaison Infinity pynac

Author: Ralf Stephan

Branch/Commit: f4fc186

Reviewer: Marc Mezzarobba

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions