#595 using bc for floating number comparison
Merge branch 'master' into 595