Skip to content

Do not convert unsigned elements to InfinityRing #17825

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dkrenn opened this issue Feb 22, 2015 · 13 comments
Open

Do not convert unsigned elements to InfinityRing #17825

dkrenn opened this issue Feb 22, 2015 · 13 comments

Comments

@dkrenn
Copy link
Contributor

dkrenn commented Feb 22, 2015

sage: InfinityRing(x)
A negative finite number
sage: InfinityRing("junk")
A positive finite number

Component: coercion

Author: Jeroen Demeyer

Branch/Commit: u/jdemeyer/do_not_convert_unsigned_elements_to_infinityring @ 93a039f

Reviewer: Ralf Stephan

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

@dkrenn dkrenn added this to the sage-6.6 milestone Feb 22, 2015
@jdemeyer

This comment has been minimized.

@jdemeyer
Copy link
Contributor

Author: Jeroen Demeyer

@jdemeyer jdemeyer changed the title wrong/weird conversion from SR to InfinityRing Do not convert unsigned elements to InfinityRing Jun 26, 2017
@jdemeyer jdemeyer modified the milestones: sage-6.6, sage-8.0 Jun 26, 2017
@jdemeyer
Copy link
Contributor

@jdemeyer
Copy link
Contributor

Commit: e16686d

@jdemeyer
Copy link
Contributor

New commits:

e16686dDo not convert unsigned elements to InfinityRing

@rwst
Copy link
Contributor

rwst commented Nov 28, 2017

comment:4

Does not apply.

@jdemeyer
Copy link
Contributor

comment:5

Do you plan to review this ticket if I fix the conflict?

@rwst
Copy link
Contributor

rwst commented Nov 28, 2017

comment:6

Yes. I have asked others this question in the past. Perhaps some people use the code but don't want to review it...

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Nov 28, 2017

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

93a039fDo not convert unsigned elements to InfinityRing

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Nov 28, 2017

Changed commit from e16686d to 93a039f

@rwst
Copy link
Contributor

rwst commented Nov 28, 2017

Reviewer: Ralf Stephan

@rwst
Copy link
Contributor

rwst commented Nov 28, 2017

comment:9

The sardonis patchbot has one relevant doctest fail. It appears that to determine RIF(-1,1) < oo it has to be coerced to the infinity ring but it has no sign. OTOH, RIF(-1,1) < oo is perfectly easily solvable so should not give an error.

@jdemeyer
Copy link
Contributor

comment:10

Replying to @rwst:

OTOH, RIF(-1,1) < oo is perfectly easily solvable so should not give an error.

That doesn't really matter. The coercion model always coerces. And it is the coercion which fails in this case. That is not easy to fix.

@mkoeppe mkoeppe removed this from the sage-8.0 milestone Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants