]> sigrok.org Git - libsigrok.git/commit
strutil: add text to float conversion which also gets precision from text
authorGerhard Sittig <redacted>
Thu, 24 Sep 2020 19:18:21 +0000 (21:18 +0200)
committerGerhard Sittig <redacted>
Thu, 22 Oct 2020 19:25:34 +0000 (21:25 +0200)
commit91ab2f6475aa559085bd87d36796a828ac041335
treeff53845d9763056c1c6824cda099bdbdccd1a6d1
parent070668a0fd0876485ea6867eb60010da0ef1c304
strutil: add text to float conversion which also gets precision from text

Provide a common string helper routine which converts input text to a
double precision floating point number, and also gets its precision in
the process.
src/libsigrok-internal.h
src/strutil.c