summaryrefslogtreecommitdiff
path: root/MLKSingleFloat.m
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-08-04 16:20:18 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-08-04 16:20:18 +0200
commita4c9f5bd436dae1d99845f50da55bae733129f56 (patch)
tree22a1718222ab8d76f928cfaa4740442a4d43c1fd /MLKSingleFloat.m
parenta0b4d1eafa4312b5970f7268441d848be5231e7b (diff)
Add fixnum-aware macros LRETAIN, LRELEASE, LDESTROY, LAUTORELEASE, LASSIGN_COPY, and LASSIGN.
Diffstat (limited to 'MLKSingleFloat.m')
-rw-r--r--MLKSingleFloat.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/MLKSingleFloat.m b/MLKSingleFloat.m
index 1d3f957..94bb5e8 100644
--- a/MLKSingleFloat.m
+++ b/MLKSingleFloat.m
@@ -21,6 +21,7 @@
#import "MLKSingleFloat.h"
#import "MLKDoubleFloat.h"
#import "runtime-compatibility.h"
+#import "util.h"
#import <Foundation/NSString.h>
@@ -65,7 +66,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
@@ -81,7 +82,7 @@
+(MLKSingleFloat *) singleFloatWithFloat:(float)aFloat
{
- return AUTORELEASE ([[self alloc] initWithFloat:aFloat]);
+ return LAUTORELEASE ([[self alloc] initWithFloat:aFloat]);
}
-(float) floatValue