summaryrefslogtreecommitdiffstats
path: root/device.c
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-11-07 09:04:47 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-07 13:12:22 -0800
commit09e8adf54eac5159b393b9a09799663060c01db1 (patch)
tree5228b99ba1add478121f790e3c2de0ecaeda687c /device.c
parent450093df85c38ce33fd23049a77750cf48e03976 (diff)
downloadsubsurface-09e8adf54eac5159b393b9a09799663060c01db1.tar.gz
Convert volume calculations into floating point
The basic problem was that for gases containing more than 2147483648 ml of nitrogen the calculations overflowed. This changes the code into using floating point math for that calculation which will be more accurate to. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'device.c')
0 files changed, 0 insertions, 0 deletions