[mythtv] [PATCH] DVB: Fix calc when local oscillator is above lnb freq range (C-band)

Kenneth Aafløy ke-aa at frisurf.no
Fri Jun 25 20:23:39 EDT 2004


On Saturday 26 June 2004 01:32, Isaac Richards wrote:
> On Friday 18 June 2004 07:20 am, Steve Brown wrote:
> >  From scan/szap in linuxtv-dvb-apps.
>
> Applied to CVS.

http://cvs.mythtv.org/cgi-bin/viewcvs.cgi/mythtv/libs/libmythtv/dvbchannel.cpp?r1=1.24&r2=1.25

I never got the gist of this patch. I might be stupid, drunk or anything else, 
but I still don't get it. Steve, could you explain to me why...

From libc manual page (i=abs):
These functions are provided for obtaining the "absolute value" (or
"magnitude") of a number.  The absolute value of a real number X is X
if X is positive, -X if X is negative.

Am I insane or is 'X negative' == '-X' and X==X?

Kenneth


More information about the mythtv-dev mailing list