]> git.mxchange.org Git - flightgear.git/commit
#897: float vs double precision issues (frequency dialog not always working)
authorThorstenB <brehmt@gmail.com>
Wed, 10 Oct 2012 18:28:17 +0000 (20:28 +0200)
committerThorstenB <brehmt@gmail.com>
Wed, 10 Oct 2012 18:28:17 +0000 (20:28 +0200)
commitb838691f50ecd639c9a6d8a675e8d8986d4f2b49
treef93005a28224ecdfa0d2433b65c16bda418c2077
parent607e7d7bf34f3f1993a23ec46f92adcdd9d8c887
#897: float vs double precision issues (frequency dialog not always working)
puObject only provides float, not double, which causes precision/rounding
issues with some numerical values (try "114.2").
Work around: obtain string value, and manually convert with proper double
precision.
src/GUI/FGPUIDialog.cxx