On 08/15/2015 04:11 PM, Jan Darowski wrote:
VPM-B: Add simple Boyle's law compensation. This is a very
basic implementation that uses bin search for solving the cubic.
Why do you iterate to some imprecise numerical solution when you can
compute the root precisely, algebraicly, without iterating? - See:
https://en.wikipedia.org/wiki/Cubic_function#Roots_of_a_cubic_function
Regards,
Lutz Vieweg
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface