]> sigrok.org Git - libsigrok.git/commitdiff
strutil: add method to get an sr_rational from a string
authorStefan Brüns <redacted>
Fri, 22 Apr 2016 22:33:45 +0000 (00:33 +0200)
committerUwe Hermann <redacted>
Mon, 16 May 2016 21:35:10 +0000 (23:35 +0200)
The method accepts strings with numbers in scientific or normal notation,
e.g. -1.25 or 3.37e-6. The numeric range is limited by the sr_rational
range, i.e +-9.2e18, resolution is ~19 digits.


No differences found