Actions
Feature #3521
opencore/utils: engineering notation helpers
Start date:
09/05/2018
Due date:
% Done:
0%
Spec Reference:
Description
It would be great to have some auxiliary API to parse numbers written in the engineering notation (e.g. 945.6M, -33k) to the regular numbers (float?), and, vice versa, the regular numbers to engineering notation. This is useful in the cases where a user should provide some input, such as frequency (e.g. in osmo-arfcn) or sample rate.
Inspired by GNU Radio: https://github.com/gnuradio/gnuradio/blob/master/gnuradio-runtime/python/gnuradio/eng_notation.py
If this feature also looks useful for others, I would implement it.
No data to display
Actions