1 Pages (4 items)
BUG : "Result is above max.allowed positive number" - Messages
#1 Posted: 11/27/2010 7:53:34 AM
Hi,
At the end of a - rather large - file I try to sum up 3 variables into a result-variable
and print out this result.
All variables have values between 0 and 2.
Much to my surprise, an error occurs : "Result is above max.allowed positive number"
I also sent a mail with attached file to support@smath.info
P.S. : I already noted that by applying the "round" function to certain variables within the
sheet, the problem disappears. Is this a viable work-around?
Kind regards,
Roger Verhasselt
Belgium
At the end of a - rather large - file I try to sum up 3 variables into a result-variable
and print out this result.
All variables have values between 0 and 2.
Much to my surprise, an error occurs : "Result is above max.allowed positive number"
I also sent a mail with attached file to support@smath.info
P.S. : I already noted that by applying the "round" function to certain variables within the
sheet, the problem disappears. Is this a viable work-around?
Kind regards,
Roger Verhasselt
Belgium
#2 Posted: 11/27/2010 9:05:21 AM
Hello Roger,
I do not know what the actual problem was but I think there is a general rule in SMath regarding the error: "Result is above max.allowed positive number".
It seems that almost everything goes trough the symbolic SMath processor first ( we do not know what is "under the hood" ). If the numerical calculation does not go as expected one could try to change "Optimization" options of the problematic region, to use eval() function or some other function which returns numerical results (like round()). It might help some times.
Regards,
Radovan
I do not know what the actual problem was but I think there is a general rule in SMath regarding the error: "Result is above max.allowed positive number".
It seems that almost everything goes trough the symbolic SMath processor first ( we do not know what is "under the hood" ). If the numerical calculation does not go as expected one could try to change "Optimization" options of the problematic region, to use eval() function or some other function which returns numerical results (like round()). It might help some times.
Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#3 Posted: 11/27/2010 9:13:03 AM
Absolutely correct.
1 Pages (4 items)
-
New Posts
-
No New Posts