public static Optional<NonNumericFloat> fromStringRepresentation(String value) {
            switch (value) {
                case "NaN":
                    return Optional.of(NAN);
                case "Infinity":
                    return Optional.of(POSITIVE_INFINITY);
                case "-Infinity":
                    return Optional.of(NEGATIVE_INFINITY);
                default:
                    return Optional.empty();
            }
        }
Convert a string value into a NonNumericFloat.

@param value A string representation of a non-numeric float value.
@return A NonNumericFloat that represents the given string value or empty if there is no associated value.
smithy-model/src/main/java/software/amazon/smithy/model/node/Node.java