rtl_fm.c & fast_atan2

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-sdr@lists.osmocom.org/.

Nikos Balkanas nikos.balkanas at eyeonix.com
Thu Jan 30 17:25:54 UTC 2014


Is this correct?

if (x >= 0) {
>.......angle = pi4  - pi4 * (x-yabs) / (x+yabs);
} else {
.......angle = pi34 - pi4 * (x+yabs) / (yabs-x);
}

Shouldn't it be:

if (x >= 0) {
>.......angle = pi34  - pi4 * (x-yabs) / (x+yabs);
} else {
.......angle = pi34 - pi4 * (x+yabs) / (yabs-x);
}


TIA,
Nikos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/osmocom-sdr/attachments/20140130/7f5cface/attachment.htm>


More information about the osmocom-sdr mailing list