subsurface/core
Robert C. Helling 9fd531dcc5 Round gas depth properly
The D in MOD, EAD, END, and EADD stands for "depth" and
as such these should be mm in int rather than double.

The intermediate fn2 and fhe2, however, as intermediate
value should not be rounded to an integer.

The upshot of this is a litle more numerical stability.
It should lead to more stable values in TestProfile
when run on architectures with different floating
point precision.

Signed-off-by: Robert C. Helling <helling@atdotde.de>
2021-12-06 22:29:04 +01:00
..
settings
subsurface-qt
android.cpp
btdiscovery.cpp core/ble: add auto detection for Aladin A2 2021-07-20 09:28:38 -07:00
btdiscovery.h
checkcloudconnection.cpp
checkcloudconnection.h cloudstorage: try alternative server if first connection fails 2021-04-19 12:51:01 -07:00
cloudstorage.cpp cloudstorage: remove ancient SSL hack 2021-04-19 12:51:01 -07:00
cloudstorage.h
CMakeLists.txt
cochran.c
cochran.h
color.cpp
color.h
compressibility.r
configuredivecomputer.cpp
configuredivecomputer.h
configuredivecomputerthreads.cpp
configuredivecomputerthreads.h
connectionlistmodel.cpp
connectionlistmodel.h
datatrak.c
datatrak.h
deco.c
deco.h
device.cpp
device.h
devicedetails.cpp
devicedetails.h Implement OSTC4 specific settings 2017-05-04 10:50:15 -07:00
display.h
dive.c Round gas depth properly 2021-12-06 22:29:04 +01:00
dive.h
divecomputer.c
divecomputer.h
divefilter.cpp
divefilter.h
divelist.c
divelist.h
divelogexportlogic.cpp Cleanup: move error reporting function declarations to errorhelper.h 2019-08-08 16:26:30 -07:00
divelogexportlogic.h
divemode.h
divesite-helper.cpp
divesite.c
divesite.h
divesitehelpers.cpp
divesitehelpers.h
downloadfromdcthread.cpp
downloadfromdcthread.h
equipment.c
equipment.h
errorhelper.c
errorhelper.h
event.c
event.h
exif.cpp
exif.h
extradata.h
file.c
file.h
filterconstraint.cpp
filterconstraint.h
filterpreset.cpp
filterpreset.h filter: remove filter_preset_table_t 2020-10-17 09:04:20 -07:00
format.cpp
format.h
fulltext.cpp
fulltext.h
gas-model.c
gas.c
gas.h Don't access gasmix.o2.fraction 2021-10-01 08:50:36 -07:00
gaspressures.c
gaspressures.h
gettext.h
gettextfromc.cpp
gettextfromc.h
git-access.c
git-access.h cleanup: don't hardcode array length 2021-04-19 12:51:01 -07:00
imagedownloader.cpp
imagedownloader.h
import-cobalt.c
import-csv.c
import-csv.h
import-divinglog.c
import-seac.c
import-shearwater.c
import-suunto.c
interpolate.h
ios.cpp
libdivecomputer.c
libdivecomputer.h
liquivision.c
load-git.c
macos.c
membuffer.cpp
membuffer.h
metadata.cpp
metadata.h
metrics.cpp
metrics.h
ostctools.c cleanup: move sort_dive_table declaration to divetable.h 2020-10-25 13:59:52 -07:00
parse-gpx.cpp cleanup: move declaration of utc_mk* functions to new subsurface-time.h header 2020-05-01 09:42:31 -07:00
parse-gpx.h
parse-xml.c
parse.c
parse.h
picture.c
picture.h
pictureobj.cpp
pictureobj.h
planner.c Planner: Correctly compute CNS and OTU for bailout segments 2021-08-19 10:58:08 -07:00
planner.h
plannernotes.c
pref.c
pref.h
profile.c
profile.h
qt-ble.cpp
qt-ble.h
qt-gui.h
qt-init.cpp
qthelper.cpp
qthelper.h
qtserialbluetooth.cpp
sample.c
sample.h
save-git.c
save-html.c
save-html.h
save-profiledata.c
save-profiledata.h
save-xml.c
selection.cpp
selection.h
serial_ftdi.c
serial_usb_android.cpp
serial_usb_android.h
sha1.c Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
sha1.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
ssrf.h
statistics.c
statistics.h
string-format.cpp
string-format.h
strndup.h
strtod.c
structured_list.h
subsurface-string.h Core: don't inline rarely used function 2018-05-14 10:13:39 -07:00
subsurface-time.h
subsurfacestartup.c
subsurfacestartup.h
subsurfacesysinfo.cpp
subsurfacesysinfo.h
table.h
tag.c
tag.h
taxonomy.c
taxonomy.h
time.c
timer.c
timer.h
trip.c
trip.h
uemis-downloader.c
uemis.c
uemis.h
units.c
units.h
unix.c
uploadDiveLogsDE.cpp
uploadDiveLogsDE.h
uploadDiveShare.cpp
uploadDiveShare.h
version.c
version.h
videoframeextractor.cpp
videoframeextractor.h
webservice.h
windows.c
windowtitleupdate.cpp
windowtitleupdate.h
worldmap-options.h
worldmap-save.c
worldmap-save.h
xmlparams.cpp
xmlparams.h
xmp_parser.cpp
xmp_parser.h