private static boolean isFloat(@NotNull String s) {
    if (INFS.contains(trimSign(s)) || NANS.contains(s)) return true;
    if (hasTag(s, "float")) return true;
    return FLOAT_PATTERN.matcher(s).matches();
  }
private static boolean isFloat(@NotNull String s)