Skip to content
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

symbolic_expression_from_string does not support arbitrary precision #10898

Closed
sagetrac-flawrence mannequin opened this issue Mar 10, 2011 · 3 comments
Closed

symbolic_expression_from_string does not support arbitrary precision #10898

sagetrac-flawrence mannequin opened this issue Mar 10, 2011 · 3 comments

Comments

@sagetrac-flawrence
Copy link
Mannequin

sagetrac-flawrence mannequin commented Mar 10, 2011

In some places (e.g. #8495), sage.calculus.calculus.symbolic_expression_from_string is being used as a safer alternative to sage_eval. However, it does not seem to support numbers with arbitrary precision. It should.

sage: from sage.calculus.calculus import symbolic_expression_from_string as sefs
sage: pi_on_two = '1.57079632679489661923132169163975144209858469968755'
sage: sefs(pi_on_two)
1.57079632679
sage: sage_eval(pi_on_two)
1.5707963267948966192313216916397514420985846996875

Component: calculus

Reviewer: Vincent Delecroix

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

@sagetrac-flawrence sagetrac-flawrence mannequin added this to the sage-5.11 milestone Mar 10, 2011
@sagetrac-flawrence

This comment has been minimized.

@jdemeyer jdemeyer modified the milestones: sage-5.11, sage-5.12 Aug 13, 2013
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.2, sage-6.3 May 6, 2014
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.3, sage-6.4 Aug 10, 2014
@mkoeppe
Copy link
Member

mkoeppe commented May 4, 2022

comment:6

Works correctly in 9.6.rc3

@mkoeppe mkoeppe removed this from the sage-6.4 milestone May 4, 2022
@mkoeppe
Copy link
Member

mkoeppe commented May 10, 2022

Reviewer: Vincent Delecroix

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