On Mar 15, 3:15 pm, Jason Grout <jason-s...@creativetrax.com> wrote:
> On 3/15/12 9:05 AM, William Stein wrote:
> > sage: RealNumber = lambda x: RealField(100)(x)
> > sage: 2.5
> > 2.5000000000000000000000000000
> > sage: 4.2992038490283409823094820938492834082093482834
> > 4.2992038490283409823094820939

> I'm curious: why do you use lambda functions?
>
> sage: RealNumber = RealField(100)
> sage: (1.2).parent()
> Real Field with 100 bits of precision
> sage: RealNumber = RealIntervalField(100)
> sage: (1.2).parent()
> Real Interval Field with 100 bits of precision

Many thanks for the answers; problem solved ;)

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to