exponential function error

exponential function error - Result is above the max. allowed positive number error - Messages

#21 Posted: 8/15/2019 10:33:00 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... this project is left as interpreted from insufficient information.
Done SS 6179 ... would be wise to cross check other SS version [7019].

Project Fission.sm (152 KiB) downloaded 29 time(s).
#22 Posted: 8/15/2019 11:26:29 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Wrote

... this project is left as interpreted from insufficient information.
Done SS 6179 ... would be wise to cross check other SS version [7019].

Project Fission.sm (152 KiB) downloaded 29 time(s).



Hello Jean,

Is this what you mean? Checked with version 7019, and plots do not work.

maxallowedpositive.png
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#23 Posted: 8/15/2019 12:01:43 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Hello Jean,

Is this what you mean? Checked with version 7019, and plots do not work.



Thanks Radovan.
SS 7019 needs be be doctored quite seriously.
What can be so hard to digest ?
As it looks, SS 7019 does not recognize exponents < 10-15
If so: should be easy to fix ?
If it tabulates the low exponents, then the plot is guilty,
that does not make sense either ...
Maybe too early to tag SS 7019 big toe a dead patient !
Cheers ... Jean

FissionStem.PNG
#24 Posted: 8/15/2019 2:04:28 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... Is there any red ?
Copy/paste in IrfanView, Resize-Resample to enlarge the ^-
I wish the paper shows some result or graph.


MeV.PNG
#25 Posted: 8/15/2019 2:19:50 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

SS 6179 ... exp(709.782)=1.796412028*10^308
SS 7019 ... exp(709.782)= red or something
#26 Posted: 8/16/2019 6:19:23 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Wrote

... Is there any red ?
Copy/paste in IrfanView, Resize-Resample to enlarge the ^-
I wish the paper shows some result or graph.


MeV.PNG



There are some results for the MeV matrix. When the numbers of rows j>11 the red is coming back.
Although there are few differences between the pictures. Some numbers are zero on the first one contrary to some small numbers on the other one.
Is there any significance of this?

floatsymb.PNG
Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#27 Posted: 8/16/2019 9:25:45 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Thanks Radovan for your reply.
YAF.NET refused to quote your message entirely ?

1. Does YAF.NET freaks the ranges to bracket format ?
2. Is it 7109 that freaks the ranges to bracket.
3. What does the bracket range format 7109 vs normal ranges 6179 ?
That kind of problem was observed recently [from recollection NDTMA ?]

What about re-code the ranges 7109 as per 6179 ?
No more from the Originator [graph, results ...]
Maybe not a public paper ... or home made for classroom ?
More puzzling: more Doctors are gone fishing ...

Cheers ... Jean

Bug 7109.PNG
#28 Posted: 8/16/2019 10:23:38 AM
overlord

overlord

552 likes in 1332 posts.

Group: Moderator

Wrote



What about re-code the ranges 7109 as per 6179 ?
No more from the Originator [graph, results ...]
Maybe not a public paper ... or home made for classroom ?
More puzzling: more Doctors are gone fishing ...

Cheers ... Jean




not related with ranges function. even rewriting as for(4)
function, equation gives the same problematic result.

fission.png

I have downloaded several old versions and found the last
working version is 0.99.6824. After this version there is
none giving the expected result.

Regards

#29 Posted: 8/16/2019 10:34:43 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello Jean,

I just put 11 in the range because any number greater than 11 will produce the famous error "...above max. positive number...".
The only thing I can figure out is that the version [7109] (and some versions before) has some serious problems with float/symbolic calculations.
Therefore I can consider this as a serious bug.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#30 Posted: 8/16/2019 11:42:40 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Hello Jean,

I just put 11 in the range because any number greater than 11 will produce the famous error "...above max. positive number...".
The only thing I can figure out is that the version [7109] (and some versions before) has some serious problems with float/symbolic calculations.
Therefore I can consider this as a serious bug.

Regards,
Radovan



Simple: tag the big toe of all SS past 6179 Dead Bodies
exp(709.782)=1.796412028*10^308 ... What do you get ?
Have a good day [night] Radovan ... Jean
#31 Posted: 8/16/2019 12:14:52 PM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Wrote

Wrote

Hello Jean,

I just put 11 in the range because any number greater than 11 will produce the famous error "...above max. positive number...".
The only thing I can figure out is that the version [7109] (and some versions before) has some serious problems with float/symbolic calculations.
Therefore I can consider this as a serious bug.

Regards,
Radovan



Simple: tag the big toe of all SS past 6179 Dead Bodies
exp(709.782)=1.796412028*10^308 ... What do you get ?
Have a good day [night] Radovan ... Jean



expfun.PNG

Thank you Jean. All the best to you.
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#32 Posted: 8/16/2019 11:03:00 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

The only thing I can figure out is that the version [7109] (and some versions before) has some serious problems with float/symbolic calculations.
Therefore I can consider this as a serious bug.


My Kalkulator is older than my Mathcad 8 Pro. [2000]

Kalkulator.PNG

Does it suggest some profitable code ?
Up until now, this bug hasn't been attended.
How many more undiscovered ?
Thanks Radovan for your dedication, sincerely ... Jean

#33 Posted: 8/17/2019 12:18:39 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... last brick in the wall.

Kalkulator-Casio.PNG
#34 Posted: 8/21/2019 9:53:26 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

... last brick in the wall.


exp(709.782)=1.79641202802057*10^308
That's what it has to be checked first SS 7019
Next, wrt the long thread: if exp(x) OK
then why it scraps the Originator project vs SS 6179 that does it.
That revisit to insure the bug has not yet be incinerated.
May be it should, being so little attractive.

#35 Posted: 8/21/2019 10:12:01 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Wrote

Wrote

... last brick in the wall.


exp(709.782)=1.79641202802057*10^308
That's what it has to be checked first SS 7019
Next, wrt the long thread: if exp(x) OK
then why it scraps the Originator project vs SS 6179 that does it.
That revisit to insure the bug has not yet be incinerated.
May be it should, being so little attractive.


Helo Jean,

From this thread, the examples and comments it is obvious that something is fishy here regarding that the same thing is working in the previous SMath versions but not in the recent ones. There is no answer from anyone yet what's wrong.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#36 Posted: 8/21/2019 11:13:48 AM
overlord

overlord

552 likes in 1332 posts.

Group: Moderator

Quote


Helo Jean,

From this thread, the examples and comments it is obvious that something is fishy here regarding that the same thing is working in the previous SMath versions but not in the recent ones. There is no answer from anyone yet what's wrong.

Regards,
Radovan


I figured this is not a problem related only with Smath Studio.

https://groups.google.com/forum/#!topic/comp.soft-sys.matlab/s8NTeTEQV7I
https://forum.dlang.org/post/rhnvcskyumpflxpcstzy@forum.dlang.org
https://books.google.com.tr/books?id=OjUyDwAAQBAJ&pg=PA269#v=onepage&q&f=false


For example, you can calculate exp(709.782) via Google.
But not exp(709.783), it gives nothing.

Online maxima can not calculate also. http://maxima.cesga.es
Wolframalpha can calculate though. https://www.wolframalpha.com/input/?i=exp%28709.783%29

Maybe the previous source code was not suitable to 64-bit IEEE 754 binary arithmetic in those previous versions.
I think Andrey changed the calculation code according to IEEE and because of it infinite overflow error popup.

Regards
1 users liked this post
frapuano 8/21/2019 12:39:00 PM
#37 Posted: 8/21/2019 12:47:54 PM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Let me repeat my main point about this error which I believe it is a bug. It is not about exp() function.
Please try in every software you want to calculate this simple addition of two small numbers.

abovemax.png

SMath will issue an error (with the rather confusing message) but every other software I tried will not. The result will be either zero or 1.5e-115. That is the point.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
1 users liked this post
overlord 8/21/2019 1:42:00 PM
#38 Posted: 8/21/2019 1:52:57 PM
overlord

overlord

552 likes in 1332 posts.

Group: Moderator

Wrote

Let me repeat my main point about this error which I believe it is a bug. It is not about exp() function.
Please try in every software you want to calculate this simple addition of two small numbers.

abovemax.png

SMath will issue an error (with the rather confusing message) but every other software I tried will not. The result will be either zero or 1.5e-115. That is the point.

Regards,
Radovan


You are right Radovan, this should be a bug. I have checked the addition on old versions.
0.99.7016 (and older versions) can calculate the mentioned additon, 0.99.7100 and after doesn't.

Let me clarify something, exp(709.783) is still not calculated on 0.99.6824 too.
But somehow the Project Fission.sm calculations can be done with 0.99.6824.

There is some serious issues over here.

Regards


#39 Posted: 8/21/2019 3:42:04 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Let me clarify something, exp(709.783) is still not calculated on 0.99.6824 too.


The utmost limit 709.782 except Kalkulator and Casio
from some method switching from exp(x) to some series.
That kind of magnitude has certainly no interest.
Why 7019 is bug ?

#40 Posted: 8/21/2019 6:46:44 PM
CBG

CBG

77 likes in 312 posts.

Group: User

The Free42 calculator for Android supports the value of 14,140 for the exp () function
exp (14140) = 8.3941 E+6140

Free42_exp_14140.png

Best Regards

Carlos
  • New Posts New Posts
  • No New Posts No New Posts