Linus Torvalds e58f54cac1 Fix ATM-vs-bar confusion
SAC should be calculated in relationship to surface pressure, not "1 bar".

I also realize that we have a few other cases where we do the same
mistake: the partial pressure calculations do things like

    po2 = o2 / 1000.0 * depth_to_mbar(sample->depth.mm, dive);

which is wrong as well - the partial pressure is also relative to
standard atmospheric pressures.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-02-11 14:05:54 -08:00
..
2014-02-11 12:37:01 -08:00
2014-02-08 08:00:27 -08:00
2014-02-09 14:42:06 -08:00
2013-12-04 15:49:55 -08:00
2014-02-06 11:29:23 -08:00
2014-02-11 12:37:01 -08:00
2014-02-09 14:42:07 -08:00
2014-02-11 12:37:01 -08:00
2013-12-20 09:53:04 -08:00
2014-02-11 14:05:54 -08:00
2014-02-11 12:37:01 -08:00
2014-02-11 12:37:01 -08:00
2014-02-11 12:37:01 -08:00
2014-01-16 12:15:47 +07:00
2014-02-06 11:29:23 -08:00
2013-11-30 12:01:32 -08:00
2014-01-16 12:15:47 +07:00
2014-02-11 12:37:01 -08:00
2014-02-11 12:37:01 -08:00
2014-01-10 16:12:44 +07:00