From: Stefan BrĂ¼ns Date: Fri, 22 Apr 2016 22:33:45 +0000 (+0200) Subject: strutil: add method to get an sr_rational from a string X-Git-Tag: libsigrok-0.5.0~402 X-Git-Url: http://sigrok.org/gitweb/?a=commitdiff_plain;h=5ec172d7e9ed55537b6a152a6b8e98712a2f595e;hp=5ec172d7e9ed55537b6a152a6b8e98712a2f595e;p=libsigrok.git strutil: add method to get an sr_rational from a string 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. ---