MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / getFrequencyUnits

Method getFrequencyUnits

Components/PanoramicDialog.cpp:588–604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

586}
587
588int
589PanoramicDialog::getFrequencyUnits(qint64 freq)
590{
591 if (freq < 0)
592 freq = -freq;
593
594 if (freq < 1000)
595 return 1;
596
597 if (freq < 1000000)
598 return 1000;
599
600 if (freq < 1000000000)
601 return 1000000;
602
603 return 1000000000;
604}
605
606
607void

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected