Ticket #10511 (new defect)

Opened 2 years ago

Last modified 2 years ago

Numbers with exponents mangled when sending to mathematica

Reported by: flawrence Owned by: was
Priority: major Milestone:
Component: interfaces Keywords:
Cc: Work issues:
Report Upstream: N/A Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description

Oh dear:

sage: mathematica(1.e-4)
0.0001
sage: mathematica(1.e-5)
0.00001
sage: mathematica(1.e-6)
-7 + 10.*e

Change History

comment:1 Changed 2 years ago by flawrence

This stems from the behaviour of _interface_init() in rings.real_mpfr.pyx. I'm sure most of the other rings.X modules would give similar problems...

Note: See TracTickets for help on using tickets.