cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Translate the entire conversation x

MEP - Change Mathcad numerical infinity to IEEE 754 Infinity

StuartBruff
23-Emerald IV

MEP - Change Mathcad numerical infinity to IEEE 754 Infinity

Mathcad Enhancement Proposal:  Change Mathcad's numerical representation of infinity to the IEEE 754 floating-point standard.

 

When dealing with large numbers, representing infinity as 10^307 can lead to numerical errors and yield ambiguous or unreadable results.

 

2025 11 15 A.png

 

Note: Python math, NumPy, Mathematica and Matlab all give correct results.

 

I don't know why 2^1020 is allowable, but 2^n, where n:=1020, raises an error.

 

Stuart

 

(Numerical ∞ = 10307 has annoyed me since Mathsoft Mathcad days.  At least change ∞ to ⧜ (U+29DC Incomplete Infinity)

3 REPLIES 3

Interesting.

 

2025 11 16 A.png

 

Math Result display set to "General".

 

Stuart

LucMeekes
23-Emerald IV
(To:StuartBruff)

The 'Infinity' unit was introduced in Prime 6. Up to and including Prime 5 you'd get:

LucMeekes_0-1763294390507.png

But the funny behaviour with 2^1020 was already present in Prime 2.

 

Success!
Luc

 

StuartBruff
23-Emerald IV
(To:LucMeekes)

Thanks, Luc.

 

Perhaps PTC can fix that problem at the same time as they implement an IEEE 754 Infinity.

 

Stuart

Announcements

Top Tags