private static boolean isFloatingZero(Object value) {
    if (value instanceof Double dValue) {
      return dValue == 0.0;
    }
    if (value instanceof Float fValue) {
      return fValue == 0.0f;
    }
    return false;
  }
private static boolean isFloatingZero(Object value)