HBASE-4588 The floating point arithmetic to validate memory allocation configurations need to be done as integers (dhruba)