mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Apple compatibility fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24207 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1e7cdf229b
commit
50c5c6b2d9
7 changed files with 43 additions and 26 deletions
|
@ -51,9 +51,9 @@ extern "C" {
|
|||
* [(NSDecimalNumberBehaviors)] protocol.
|
||||
*/
|
||||
typedef enum {
|
||||
NSRoundPlain, /* Round .5 up */
|
||||
NSRoundDown,
|
||||
NSRoundUp,
|
||||
NSRoundPlain, /* Round .5 up */
|
||||
NSRoundBankers /* Make last digit even */
|
||||
} NSRoundingMode;
|
||||
|
||||
|
@ -75,9 +75,9 @@ typedef enum {
|
|||
*/
|
||||
typedef enum {
|
||||
NSCalculationNoError = 0,
|
||||
NSCalculationLossOfPrecision,
|
||||
NSCalculationUnderflow, /* result became zero */
|
||||
NSCalculationOverflow,
|
||||
NSCalculationLossOfPrecision,
|
||||
NSCalculationDivideByZero
|
||||
} NSCalculationError;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue