Skip to content

Substituting numeric one in symbolic expression gives symbolic one #14326

@zimmermann6

Description

@zimmermann6

consider the following in Sage 5.8:

sage: u(n) = n^100 / 100^n; u(1.)
1/100

This is inconsistent with:

sage: n=1.; n^100 / 100^n
0.0100000000000000

and with:

sage: v = lambda(n): n^100 / 100^n; v(1.)
0.0100000000000000

and:

sage: def w(n): return n^100 / 100^n       
sage: w(1.) 
0.0100000000000000

CC: @mezzarobba @burcin

Component: basic arithmetic

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions