fix indentation

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27474 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2008-12-31 06:13:13 +00:00
parent ba9a6dff92
commit 0488c7760b

View file

@ -355,15 +355,15 @@ static NSDecimalNumber *one;
NSString *s; NSString *s;
float v = *(float *)value; float v = *(float *)value;
if (GSIsNAN(v)) if (GSIsNAN(v))
{ {
DESTROY(self); DESTROY(self);
return RETAIN(notANumber); return RETAIN(notANumber);
} }
if (GSIsInf(v)) if (GSIsInf(v))
{ {
DESTROY(self); DESTROY(self);
return (v < 0.0) ? RETAIN(minNumber) : RETAIN(maxNumber); return (v < 0.0) ? RETAIN(minNumber) : RETAIN(maxNumber);
} }
s = [[NSString alloc] initWithFormat: @"%g" s = [[NSString alloc] initWithFormat: @"%g"
locale: GSPrivateDefaultLocale(), (double)v]; locale: GSPrivateDefaultLocale(), (double)v];
self = [self initWithString: s]; self = [self initWithString: s];
@ -377,15 +377,15 @@ static NSDecimalNumber *one;
NSString *s; NSString *s;
double v = *(double *)value; double v = *(double *)value;
if (GSIsNAN(v)) if (GSIsNAN(v))
{ {
DESTROY(self); DESTROY(self);
return RETAIN(notANumber); return RETAIN(notANumber);
} }
if (GSIsInf(v)) if (GSIsInf(v))
{ {
DESTROY(self); DESTROY(self);
return (v < 0.0) ? RETAIN(minNumber) : RETAIN(maxNumber); return (v < 0.0) ? RETAIN(minNumber) : RETAIN(maxNumber);
} }
s = [[NSString alloc] initWithFormat: @"%g" s = [[NSString alloc] initWithFormat: @"%g"
locale: GSPrivateDefaultLocale(), v]; locale: GSPrivateDefaultLocale(), v];
self = [self initWithString: s]; self = [self initWithString: s];