el_supremo:
A little bit of algebra changes that toRTCvar = (120.*seconds - seconds*seconds)/36.;Pete
Finishing the job and eliminating one multiply:
RTCvar = (120.0 - seconds) * seconds / 36.0 ;
el_supremo:
A little bit of algebra changes that toRTCvar = (120.*seconds - seconds*seconds)/36.;Pete
Finishing the job and eliminating one multiply:
RTCvar = (120.0 - seconds) * seconds / 36.0 ;