Post Reply 
You've Got Mail.........DM42L
02-24-2016, 08:30 PM (This post was last modified: 02-25-2016 06:56 PM by BarryMead.)
Post: #35
RE: You've Got Mail.........DM42L
(02-24-2016 05:54 PM)mendesp Wrote:  Thanks for the improvement, but when I compiled the emulator on my pc and tried computing tan(cos(sin(9))), I got this error message.

Run-time Check Failure #2 - Stack around the variable 'x' was corrupted.

Am I doing something wrong ?

Thanks for your help.
When I perform this sequence of trig functions on my emulator I do not get any errors, so I suspect that something went wrong in your emulator compilation process. I compiled my emulators on Ubuntu Linux (386) 14.04 so I doubt that the compiled binary files that I prepared would be of any use to you.
I did observe an error on the REAL CALCULATOR where display shows "Reset" which could indicate a stack overflow on the real calculator when I compiled this version and tried to take the tangent of the value .9999999. Perhaps the two problems are related. The problem seems to occur when the tangent function is asked to evaluate values close to integer whole numbers but only off by a tiny amount like .99999999 or 1.99999999, or 1.000000001 when the angle mode is in Degrees mode. If I had compiled my emulator in Windows, I may have observed the same stack corruption that you discovered, but my emulator was compiled in Linux and it didn't show any errors.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
You've Got Mail.........DM42L - d b - 02-19-2016, 09:38 PM
RE: You've Got Mail.........DM42L - JimP - 02-19-2016, 09:50 PM
RE: You've Got Mail.........DM42L - d b - 02-19-2016, 10:24 PM
RE: You've Got Mail.........DM42L - Werner - 02-20-2016, 12:53 PM
RE: You've Got Mail.........DM42L - Werner - 02-23-2016, 07:02 AM
RE: You've Got Mail.........DM42L - Werner - 02-23-2016, 10:08 AM
RE: You've Got Mail.........DM42L - Werner - 02-23-2016, 10:53 AM
RE: You've Got Mail.........DM42L - Werner - 02-23-2016, 11:47 AM
RE: You've Got Mail.........DM42L - Werner - 02-24-2016, 08:17 AM
RE: You've Got Mail.........DM42L - BarryMead - 02-24-2016 08:30 PM
RE: You've Got Mail.........DM42L - Vtile - 03-21-2016, 02:41 AM
RE: You've Got Mail.........DM42L - JeffJ - 05-12-2016, 06:45 PM
RE: You've Got Mail.........DM42L - JeffJ - 08-25-2016, 05:54 PM
RE: You've Got Mail.........DM42L - vido - 08-26-2016, 06:44 PM
RE: You've Got Mail.........DM42L - tycho - 09-03-2016, 10:02 PM
RE: You've Got Mail.........DM42L - vido - 09-03-2016, 10:20 PM
RE: You've Got Mail.........DM42L - tycho - 09-04-2016, 11:15 AM
RE: You've Got Mail.........DM42L - tycho - 09-05-2016, 01:40 PM
RE: You've Got Mail.........DM42L - Otto55 - 11-05-2016, 10:40 PM
RE: You've Got Mail.........DM42L - Jlouis - 11-20-2016, 02:08 AM



User(s) browsing this thread: 1 Guest(s)