Update patch set 1

Patch Set 1:

Chris, James,

Actually bash is pretty basic and is unable to do floating point arithmetic, hence the original call to python. Something like $(( 1.1 - 0.2 )) will trigger a syntax error.

The page at http://math-blog.com/2012/07/23/floating-point-arithmetic-in-the-bourne-again-shell-bash/ lists a few alternatives (all involving shelling out). I chose perl because it is available be default on most systems.

Patch-set: 1
Label: Verified=0
This commit is contained in:
Gerrit User 13039 2015-02-08 13:14:55 +00:00 committed by Gerrit Code Review
parent afcb45f00c
commit d8327080e8

Diff Content Not Available