@@ -359,13 +359,21 @@ * * @param value The `double` value which the OFNumber should contain * @return An initialized OFNumber */ - (instancetype)initWithDouble: (double)value; + +/** + * @brief Compares the number to another number. + * + * @param number The number to compare the number to + * @return The result of the comparison + */ +- (of_comparison_result_t)compare: (OFNumber *)number; @end OF_ASSUME_NONNULL_END #if !defined(NSINTEGER_DEFINED) && !__has_feature(modules) /* Required for number literals to work */ @compatibility_alias NSNumber OFNumber; #endif