Speed up generate_srs_nr()
- calculation in float: should be enough precision (it'll go into 16bit
ints later...)
- avoid round: the lower 15bits will be shifted away, the rounding will
have no effect
- group some multiplications to avoid re-computation of the same
results.
Signed-off-by:
Robert Schmidt <robert.schmidt@openairinterface.org>
Showing
Please register or sign in to comment