mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 12:16:40 +00:00
Updates for 10.5 API changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27962 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
845a701069
commit
24d43481a8
138 changed files with 2094 additions and 1536 deletions
|
@ -476,7 +476,7 @@ static NSDecimalNumber *one;
|
|||
return [self initWithBytes: &d objCType: "d"];
|
||||
}
|
||||
|
||||
- (id) initWithInt: (signed int)value
|
||||
- (id) initWithInt: (int)value
|
||||
{
|
||||
if (value < 0)
|
||||
{
|
||||
|
@ -547,7 +547,7 @@ static NSDecimalNumber *one;
|
|||
isNegative: NO];
|
||||
}
|
||||
|
||||
- (id) initWithUnsignedInt: (unsigned int)value
|
||||
- (id) initWithUnsignedInt: (NSUInteger)value
|
||||
{
|
||||
return [self initWithMantissa: value
|
||||
exponent: 0
|
||||
|
@ -769,13 +769,13 @@ static NSDecimalNumber *one;
|
|||
return [NSDecimalNumber decimalNumberWithDecimal: result];
|
||||
}
|
||||
|
||||
- (NSDecimalNumber*) decimalNumberByRaisingToPower: (unsigned)power
|
||||
- (NSDecimalNumber*) decimalNumberByRaisingToPower: (NSUInteger)power
|
||||
{
|
||||
return [self decimalNumberByRaisingToPower: power
|
||||
withBehavior: [isa defaultBehavior]];
|
||||
}
|
||||
|
||||
- (NSDecimalNumber*) decimalNumberByRaisingToPower: (unsigned)power
|
||||
- (NSDecimalNumber*) decimalNumberByRaisingToPower: (NSUInteger)power
|
||||
withBehavior: (id <NSDecimalNumberBehaviors>)behavior
|
||||
{
|
||||
NSDecimal result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue