diff options
Diffstat (limited to 'MLKDoubleFloat.m')
-rw-r--r-- | MLKDoubleFloat.m | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/MLKDoubleFloat.m b/MLKDoubleFloat.m index a60bd8c..c729452 100644 --- a/MLKDoubleFloat.m +++ b/MLKDoubleFloat.m @@ -21,6 +21,7 @@ #import "MLKSingleFloat.h" #import "MLKDoubleFloat.h" #import "runtime-compatibility.h" +#import "util.h" #import <Foundation/NSString.h> @@ -66,7 +67,7 @@ exponent:(NSString *)exponent exponentNegative:(BOOL)exponentNegative { - return AUTORELEASE ([[self alloc] initWithIntegerPart:intPart + return LAUTORELEASE ([[self alloc] initWithIntegerPart:intPart negative:negative fractionalPart:fractPart exponent:exponent @@ -82,7 +83,7 @@ +(MLKDoubleFloat *) doubleFloatWithDouble:(double)aDouble { - return AUTORELEASE ([[self alloc] initWithDouble:aDouble]); + return LAUTORELEASE ([[self alloc] initWithDouble:aDouble]); } -(float) floatValue |