Official patch #3 for Calctool v2.1 - please apply it.
Rich Burridge
richb at sunaus.oz
Wed Mar 16 09:19:00 AEST 1988
This is the third official patch to Calctool v2.1. Please apply it.
It fixes the following problem.
* it finally fixes the trigonometrical functions.
Many thanks to Scott Sutherland (scott at bu-ma.bu.edu)
for this.
Rich.
------CUT HERE------CUT HERE------
*** original/functions.c Sat Feb 13 21:03:56 1988
--- functions.c Sat Feb 13 21:07:25 1988
***************
*** 431,438 ****
break ;
case 't' : tresults[RAD] = tan(temp) ; /* tan. */
}
! tresults[DEG] = disp_val * 180.0 / M_PI ;
! tresults[GRAD] = disp_val * 200.0 / M_PI ;
cur_op = current ;
show_display(tresults[ttype]) ;
--- 431,438 ----
break ;
case 't' : tresults[RAD] = tan(temp) ; /* tan. */
}
! tresults[DEG] = tresults[RAD] ;
! tresults[GRAD] = tresults[RAD] ;
cur_op = current ;
show_display(tresults[ttype]) ;
*** original/patchlevel.h Sat Feb 13 21:03:56 1988
--- patchlevel.h Sat Feb 13 21:07:55 1988
***************
*** 18,21 ****
* reported to me then an attempt will be made to fix them.
*/
! #define PATCHLEVEL 2
--- 18,21 ----
* reported to me then an attempt will be made to fix them.
*/
! #define PATCHLEVEL 3
More information about the Comp.sources.bugs
mailing list