357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
|
/**
* @brief Initializes an already allocated OFNumber with the specified `double`.
*
* @param value The `double` value which the OFNumber should contain
* @return An initialized OFNumber
*/
- (instancetype)initWithDouble: (double)value;
@end
OF_ASSUME_NONNULL_END
#if !defined(NSINTEGER_DEFINED) && !__has_feature(modules)
/* Required for number literals to work */
@compatibility_alias NSNumber OFNumber;
#endif
|
>
>
>
>
>
>
>
>
|
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
|
/**
* @brief Initializes an already allocated OFNumber with the specified `double`.
*
* @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
|