mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-08-01 16:38:06 -04:00
Optimization: avoid cvtsd2ss instructions by using explicit floating point litterals. Spectrum histogram calculation optimization
This commit is contained in:
@@ -90,7 +90,7 @@ void ScopeVis::feed(const SampleVector::const_iterator& cbegin, const SampleVect
|
||||
|
||||
for(int i = 0; i < count; ++i)
|
||||
{
|
||||
*it++ = Complex(begin->real() / 32768.0, begin->imag() / 32768.0);
|
||||
*it++ = Complex(begin->real() / 32768.0f, begin->imag() / 32768.0f);
|
||||
++begin;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user