function checkFloatEquals(expected, value) {
  // The precision to use when comparing floating point numbers.
  var epsilon = Math.pow(10, -9);
  return goog.math.nearlyEquals(expected, value, epsilon);
}
@param {number} expected
@param {number} value
@return {boolean}