Re: Workaround for 33S ->HMS bug Message #6 Posted by Norris on 7 Sept 2004, 1:27 p.m., in response to message #5 by bill platt
As far as I know (please correct me if I am wrong), the only way to generate the -0 bug is to deliberately enter 0, followed by +/-.
NOTE: I was wrong and was corrected. Therefore, the workarounds discussed below do not, in fact, work. But I am leaving this post up for continuity
My recommended workaround for this bug is as follows:
** Don't enter 0, followed by +/- **
This workaround is simple and causes me minimal inconvenience, yet it seems to be working well in practice.
**********
If it was really necessary, I suppose you could "fix" the ->theta,r function with the following:
LBL T
x=0?
ABS
y,x->theta,r
RTN
And a similar program would address the COMPLXLN function; just change the first line to LBL B and the fourth line to CMPLXLN.
However, I prefer my original suggested workaround, and that's what I'm using, at least for now.
Edited: 7 Sept 2004, 8:40 p.m. after one or more responses were posted
|