1197
|
1 |
"
|
|
2 |
COPYRIGHT (c) 1996 by Claus Gittinger
|
|
3 |
All Rights Reserved
|
|
4 |
|
|
5 |
This software is furnished under a license and may be used
|
|
6 |
only in accordance with the terms of that license and with the
|
|
7 |
inclusion of the above copyright notice. This software may not
|
|
8 |
be provided or otherwise made available to, or used by, any
|
|
9 |
other person. No title to or ownership of the software is
|
|
10 |
hereby transferred.
|
|
11 |
"
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
LimitedPrecisionReal variableByteSubclass:#ShortFloat
|
|
16 |
instanceVariableNames:''
|
|
17 |
classVariableNames:'LastErrorNumber'
|
|
18 |
poolDictionaries:''
|
|
19 |
category:'Magnitude-Numbers'
|
|
20 |
!
|
|
21 |
|
|
22 |
!ShortFloat class methodsFor:'documentation'!
|
|
23 |
|
|
24 |
copyright
|
|
25 |
"
|
|
26 |
COPYRIGHT (c) 1996 by Claus Gittinger
|
|
27 |
All Rights Reserved
|
|
28 |
|
|
29 |
This software is furnished under a license and may be used
|
|
30 |
only in accordance with the terms of that license and with the
|
|
31 |
inclusion of the above copyright notice. This software may not
|
|
32 |
be provided or otherwise made available to, or used by, any
|
|
33 |
other person. No title to or ownership of the software is
|
|
34 |
hereby transferred.
|
|
35 |
"
|
|
36 |
|
|
37 |
|
|
38 |
!
|
|
39 |
|
|
40 |
documentation
|
|
41 |
"
|
|
42 |
ShortFloats represent rational numbers with limited precision. In ST/X, Float uses
|
|
43 |
the underlying C-compilers double implementation, while ShortFloats are
|
|
44 |
mapped onto C-floats.
|
|
45 |
Therefore instances of Float are usually represented by the 8-byte IEE
|
|
46 |
double precision float format, while ShortFloats use 4byte IEE format.
|
|
47 |
(but there is no guaranty).
|
|
48 |
|
|
49 |
Notice, that ST/X Floats are what Doubles are in ST-80 and ShortFloats are
|
|
50 |
ST-80's Floats respectively.
|
|
51 |
This may change in one of the next versions (at least on machines, which
|
|
52 |
provide different float and double types in their C-compiler.
|
|
53 |
|
|
54 |
WARNING:
|
|
55 |
The layout of shortFloat instances is known by the runtime system and the compiler;
|
|
56 |
you may not add instance variables here.
|
|
57 |
Also, subclassing is complicated by the fact, that the VM creates floats/shortFloats,
|
|
58 |
and does its float-checks by an identity compare with the ShortFloat-class.
|
|
59 |
(i.e. your subclasses instances may not be recognized as float-like objects,
|
|
60 |
thus mixed mode arithmetic will always coerce them, effectively slowing things down).
|
|
61 |
|
|
62 |
This may be changed, to use a flag bit in the class.
|
1295
|
63 |
|
|
64 |
[author:]
|
|
65 |
Claus Gittinger
|
1197
|
66 |
"
|
|
67 |
|
|
68 |
! !
|
|
69 |
|
1207
|
70 |
!ShortFloat class methodsFor:'instance creation'!
|
|
71 |
|
|
72 |
basicNew
|
|
73 |
"return a new shortFloat - here we return 0.0
|
|
74 |
- shortFloats are usually NOT created this way ...
|
|
75 |
Its implemented here to allow things like binary store & load
|
|
76 |
of shortFloats. (but even this support will go away eventually, its not
|
|
77 |
a good idea to store the bits of a float - the reader might have a
|
|
78 |
totally different representation - so floats will eventually be
|
|
79 |
binary stored in a device independent format."
|
|
80 |
|
|
81 |
%{ /* NOCONTEXT */
|
|
82 |
OBJ newFloat;
|
|
83 |
|
|
84 |
__qMKSFLOAT(newFloat, 0.0, SENDER);
|
|
85 |
RETURN (newFloat);
|
|
86 |
%}
|
|
87 |
! !
|
|
88 |
|
1197
|
89 |
!ShortFloat class methodsFor:'constants'!
|
|
90 |
|
|
91 |
pi
|
1260
|
92 |
"return the constant pi as ShortFloat"
|
1197
|
93 |
|
|
94 |
^ 3.14159 asShortFloat
|
|
95 |
|
1260
|
96 |
"Modified: 23.4.1996 / 09:26:31 / cg"
|
1197
|
97 |
!
|
|
98 |
|
|
99 |
unity
|
1260
|
100 |
"return the neutral element for multiplication (1.0) as ShortFloat"
|
1197
|
101 |
|
|
102 |
^ 1.0 asShortFloat
|
|
103 |
|
1260
|
104 |
"Modified: 23.4.1996 / 09:26:51 / cg"
|
1197
|
105 |
!
|
|
106 |
|
|
107 |
zero
|
1260
|
108 |
"return the neutral element for addition (0.0) as ShortFloat"
|
1197
|
109 |
|
|
110 |
^ 0.0 asShortFloat
|
|
111 |
|
1260
|
112 |
"Modified: 23.4.1996 / 09:26:45 / cg"
|
1197
|
113 |
! !
|
|
114 |
|
|
115 |
!ShortFloat class methodsFor:'queries'!
|
|
116 |
|
|
117 |
isBuiltInClass
|
1264
|
118 |
"return true if this class is known by the run-time-system.
|
|
119 |
Here, true is returned for myself, false for subclasses."
|
1197
|
120 |
|
|
121 |
^ self == ShortFloat
|
|
122 |
|
1264
|
123 |
"Modified: 23.4.1996 / 16:00:23 / cg"
|
1197
|
124 |
! !
|
|
125 |
|
|
126 |
!ShortFloat methodsFor:'arithmetic'!
|
|
127 |
|
|
128 |
* aNumber
|
|
129 |
"return the product of the receiver and the argument, aNumber"
|
|
130 |
|
|
131 |
%{ /* NOCONTEXT */
|
|
132 |
|
|
133 |
OBJ newFloat;
|
|
134 |
float result;
|
|
135 |
double dResult;
|
|
136 |
|
|
137 |
if (__isSmallInteger(aNumber)) {
|
|
138 |
result = __shortFloatVal(self) * (float)(__intVal(aNumber));
|
|
139 |
retResult:
|
|
140 |
__qMKSFLOAT(newFloat, result, SENDER);
|
|
141 |
RETURN ( newFloat );
|
|
142 |
}
|
|
143 |
if (__isShortFloat(aNumber)) {
|
|
144 |
result = __shortFloatVal(self) * __shortFloatVal(aNumber);
|
|
145 |
goto retResult;
|
|
146 |
}
|
|
147 |
if (__isFloatLike(aNumber)) {
|
|
148 |
dResult = (double) __shortFloatVal(self)* __floatVal(aNumber);
|
|
149 |
__qMKFLOAT(newFloat, dResult, SENDER);
|
|
150 |
RETURN ( newFloat );
|
|
151 |
|
|
152 |
}
|
|
153 |
%}.
|
|
154 |
^ aNumber productFromShortFloat:self
|
|
155 |
!
|
|
156 |
|
|
157 |
+ aNumber
|
|
158 |
"return the sum of the receiver and the argument, aNumber"
|
|
159 |
|
|
160 |
%{ /* NOCONTEXT */
|
|
161 |
|
|
162 |
OBJ newFloat;
|
|
163 |
float result;
|
|
164 |
double dResult;
|
|
165 |
|
|
166 |
if (__isSmallInteger(aNumber)) {
|
|
167 |
result = __shortFloatVal(self) + (float)(__intVal(aNumber));
|
|
168 |
retResult:
|
|
169 |
__qMKSFLOAT(newFloat, result, SENDER);
|
|
170 |
RETURN ( newFloat );
|
|
171 |
}
|
|
172 |
if (__isShortFloat(aNumber)) {
|
|
173 |
result = __shortFloatVal(self) + __shortFloatVal(aNumber);
|
|
174 |
goto retResult;
|
|
175 |
}
|
|
176 |
if (__isFloatLike(aNumber)) {
|
|
177 |
dResult = (double) __shortFloatVal(self) + __floatVal(aNumber);
|
|
178 |
__qMKFLOAT(newFloat, dResult, SENDER);
|
|
179 |
RETURN ( newFloat );
|
|
180 |
|
|
181 |
}
|
|
182 |
%}.
|
|
183 |
^ aNumber sumFromShortFloat:self
|
|
184 |
!
|
|
185 |
|
|
186 |
- aNumber
|
|
187 |
"return the difference of the receiver and the argument, aNumber"
|
|
188 |
|
|
189 |
%{ /* NOCONTEXT */
|
|
190 |
|
|
191 |
OBJ newFloat;
|
|
192 |
float result;
|
|
193 |
double dResult;
|
|
194 |
|
|
195 |
if (__isSmallInteger(aNumber)) {
|
|
196 |
result = __shortFloatVal(self) - (float)(__intVal(aNumber));
|
|
197 |
retResult:
|
|
198 |
__qMKSFLOAT(newFloat, result, SENDER);
|
|
199 |
RETURN ( newFloat );
|
|
200 |
}
|
|
201 |
if (__isShortFloat(aNumber)) {
|
|
202 |
result = __shortFloatVal(self) - __shortFloatVal(aNumber);
|
|
203 |
goto retResult;
|
|
204 |
}
|
|
205 |
if (__isFloatLike(aNumber)) {
|
|
206 |
dResult = (double) __shortFloatVal(self) - __floatVal(aNumber);
|
|
207 |
__qMKFLOAT(newFloat, dResult, SENDER);
|
|
208 |
RETURN ( newFloat );
|
|
209 |
|
|
210 |
}
|
|
211 |
%}.
|
|
212 |
^ aNumber differenceFromShortFloat:self
|
|
213 |
!
|
|
214 |
|
|
215 |
/ aNumber
|
|
216 |
"return the quotient of the receiver and the argument, aNumber"
|
|
217 |
|
|
218 |
%{ /* NOCONTEXT */
|
|
219 |
|
|
220 |
OBJ newFloat;
|
|
221 |
float result, val;
|
|
222 |
double dResult, dVal;
|
|
223 |
|
|
224 |
if (__isSmallInteger(aNumber)) {
|
|
225 |
if (aNumber != __MKSMALLINT(0)) {
|
|
226 |
result = __shortFloatVal(self) / (float)(__intVal(aNumber));
|
|
227 |
retResult:
|
|
228 |
__qMKSFLOAT(newFloat, result, SENDER);
|
|
229 |
RETURN ( newFloat );
|
|
230 |
}
|
|
231 |
}
|
|
232 |
if (__isShortFloat(aNumber)) {
|
|
233 |
val = __shortFloatVal(aNumber);
|
|
234 |
if (val != 0.0) {
|
|
235 |
result = __shortFloatVal(self) / val;
|
|
236 |
goto retResult;
|
|
237 |
}
|
|
238 |
}
|
|
239 |
if (__isFloatLike(aNumber)) {
|
|
240 |
dVal = __floatVal(aNumber);
|
|
241 |
if (dVal != 0.0) {
|
|
242 |
dResult = (double) __shortFloatVal(self) / dVal;
|
|
243 |
__qMKFLOAT(newFloat, dResult, SENDER);
|
|
244 |
}
|
|
245 |
RETURN ( newFloat );
|
|
246 |
|
|
247 |
}
|
|
248 |
%}.
|
|
249 |
((aNumber == 0) or:[aNumber = 0.0]) ifTrue:[
|
|
250 |
"
|
|
251 |
No, you shalt not divide by zero
|
|
252 |
"
|
|
253 |
^ DivisionByZeroSignal raise.
|
|
254 |
].
|
|
255 |
^ aNumber quotientFromFloat:self
|
|
256 |
|
|
257 |
!
|
|
258 |
|
|
259 |
negated
|
|
260 |
"return myself negated"
|
|
261 |
|
|
262 |
%{ /* NOCONTEXT */
|
|
263 |
OBJ newFloat;
|
|
264 |
float rslt = - __shortFloatVal(self);
|
|
265 |
|
|
266 |
__qMKSFLOAT(newFloat, rslt, SENDER);
|
|
267 |
RETURN ( newFloat );
|
|
268 |
%}
|
|
269 |
|
|
270 |
! !
|
|
271 |
|
|
272 |
!ShortFloat methodsFor:'coercion and converting'!
|
|
273 |
|
|
274 |
asFloat
|
|
275 |
"return a Float with same value as the receiver"
|
|
276 |
|
|
277 |
%{ /* NOCONTEXT */
|
|
278 |
|
|
279 |
OBJ newFloat;
|
|
280 |
double dVal = (double)__shortFloatVal(self);
|
|
281 |
|
|
282 |
__qMKFLOAT(newFloat, dVal, SENDER);
|
|
283 |
RETURN ( newFloat );
|
|
284 |
%}
|
|
285 |
|
|
286 |
"
|
|
287 |
1.0 asShortFloat
|
|
288 |
"
|
|
289 |
!
|
|
290 |
|
|
291 |
asInteger
|
|
292 |
"return an integer with same value - might truncate"
|
|
293 |
|
|
294 |
%{ /* NOCONTEXT */
|
|
295 |
|
|
296 |
if ((__shortFloatVal(self) >= (float)_MIN_INT)
|
|
297 |
&& (__shortFloatVal(self) <= (float)_MAX_INT)) {
|
|
298 |
RETURN ( __MKSMALLINT( (INT)__shortFloatVal(self)) );
|
|
299 |
}
|
|
300 |
%}.
|
|
301 |
^ super asInteger
|
|
302 |
|
|
303 |
"
|
|
304 |
12345.0 asShortFloat asInteger
|
|
305 |
1e15 asShortFloat asInteger
|
|
306 |
"
|
|
307 |
!
|
|
308 |
|
|
309 |
asShortFloat
|
|
310 |
"return a ShortFloat with same value as the receiver - thats me"
|
|
311 |
|
|
312 |
^ self
|
1200
|
313 |
!
|
|
314 |
|
|
315 |
generality
|
|
316 |
"return the generality value - see ArithmeticValue>>retry:coercing:"
|
|
317 |
|
|
318 |
^ 70
|
|
319 |
|
|
320 |
|
1197
|
321 |
! !
|
|
322 |
|
|
323 |
!ShortFloat methodsFor:'comparing'!
|
|
324 |
|
|
325 |
< aNumber
|
|
326 |
"return true, if the argument is greater"
|
|
327 |
|
|
328 |
%{ /* NOCONTEXT */
|
|
329 |
|
|
330 |
if (__isSmallInteger(aNumber)) {
|
|
331 |
RETURN ( (__shortFloatVal(self) < (float)(__intVal(aNumber))) ? true : false );
|
|
332 |
}
|
|
333 |
if (__isFloatLike(aNumber)) {
|
|
334 |
RETURN ( (double)(__shortFloatVal(self) < __floatVal(aNumber)) ? true : false );
|
|
335 |
}
|
|
336 |
if (__isShortFloat(aNumber)) {
|
|
337 |
RETURN ( (__shortFloatVal(self) < __shortFloatVal(aNumber)) ? true : false );
|
|
338 |
}
|
|
339 |
%}.
|
|
340 |
^ aNumber lessFromShortFloat:self
|
|
341 |
|
1200
|
342 |
"
|
|
343 |
1.0 asShortFloat > (1/3)
|
|
344 |
"
|
1197
|
345 |
!
|
|
346 |
|
|
347 |
<= aNumber
|
|
348 |
"return true, if the argument is greater or equal"
|
|
349 |
|
|
350 |
%{ /* NOCONTEXT */
|
|
351 |
|
|
352 |
if (__isSmallInteger(aNumber)) {
|
|
353 |
RETURN ( (__shortFloatVal(self) <= (float)(__intVal(aNumber))) ? true : false );
|
|
354 |
}
|
|
355 |
if (__isFloatLike(aNumber)) {
|
|
356 |
RETURN ( (double)(__shortFloatVal(self) <= __floatVal(aNumber)) ? true : false );
|
|
357 |
}
|
|
358 |
if (__isShortFloat(aNumber)) {
|
|
359 |
RETURN ( (__shortFloatVal(self) <= __shortFloatVal(aNumber)) ? true : false );
|
|
360 |
}
|
|
361 |
%}.
|
|
362 |
^ self retry:#<= coercing:aNumber
|
|
363 |
|
|
364 |
!
|
|
365 |
|
|
366 |
= aNumber
|
|
367 |
"return true, if the arguments value are equal by value"
|
|
368 |
|
|
369 |
%{ /* NOCONTEXT */
|
|
370 |
|
|
371 |
if (__isSmallInteger(aNumber)) {
|
|
372 |
RETURN ( (__shortFloatVal(self) == (float)(__intVal(aNumber))) ? true : false );
|
|
373 |
}
|
|
374 |
if (__isFloatLike(aNumber)) {
|
|
375 |
RETURN ( (double)(__shortFloatVal(self) == __floatVal(aNumber)) ? true : false );
|
|
376 |
}
|
|
377 |
if (__isShortFloat(aNumber)) {
|
|
378 |
RETURN ( (__shortFloatVal(self) == __shortFloatVal(aNumber)) ? true : false );
|
|
379 |
}
|
|
380 |
%}.
|
|
381 |
^ self retry:#= coercing:aNumber
|
|
382 |
|
|
383 |
!
|
|
384 |
|
|
385 |
> aNumber
|
|
386 |
"return true, if the argument is less"
|
|
387 |
|
|
388 |
%{ /* NOCONTEXT */
|
|
389 |
|
|
390 |
if (__isSmallInteger(aNumber)) {
|
|
391 |
RETURN ( (__shortFloatVal(self) > (float)(__intVal(aNumber))) ? true : false );
|
|
392 |
}
|
|
393 |
if (__isFloatLike(aNumber)) {
|
|
394 |
RETURN ( (double)(__shortFloatVal(self) > __floatVal(aNumber)) ? true : false );
|
|
395 |
}
|
|
396 |
if (__isShortFloat(aNumber)) {
|
|
397 |
RETURN ( (__shortFloatVal(self) > __shortFloatVal(aNumber)) ? true : false );
|
|
398 |
}
|
|
399 |
%}.
|
|
400 |
^ self retry:#> coercing:aNumber
|
|
401 |
!
|
|
402 |
|
|
403 |
>= aNumber
|
|
404 |
"return true, if the argument is less or equal"
|
|
405 |
|
|
406 |
%{ /* NOCONTEXT */
|
|
407 |
|
|
408 |
if (__isSmallInteger(aNumber)) {
|
|
409 |
RETURN ( (__shortFloatVal(self) >= (float)(__intVal(aNumber))) ? true : false );
|
|
410 |
}
|
|
411 |
if (__isFloatLike(aNumber)) {
|
|
412 |
RETURN ( (double)(__shortFloatVal(self) >= __floatVal(aNumber)) ? true : false );
|
|
413 |
}
|
|
414 |
if (__isShortFloat(aNumber)) {
|
|
415 |
RETURN ( (__shortFloatVal(self) >= __shortFloatVal(aNumber)) ? true : false );
|
|
416 |
}
|
|
417 |
%}.
|
|
418 |
^ self retry:#>= coercing:aNumber
|
|
419 |
!
|
|
420 |
|
|
421 |
hash
|
|
422 |
"return a number for hashing; redefined, since floats compare
|
|
423 |
by numeric value (i.e. 3.0 = 3), therefore 3.0 hash must be the same
|
|
424 |
as 3 hash."
|
|
425 |
|
|
426 |
|i|
|
|
427 |
|
|
428 |
(self >= SmallInteger minVal and:[self <= SmallInteger maxVal]) ifTrue:[
|
|
429 |
i := self asInteger.
|
|
430 |
self = i ifTrue:[
|
|
431 |
^ i hash
|
|
432 |
].
|
|
433 |
].
|
|
434 |
|
|
435 |
"
|
|
436 |
mhmh take some of my value-bits to hash on
|
|
437 |
"
|
|
438 |
^ (((self basicAt:4) bitAnd:16r3F) bitShift:24) +
|
|
439 |
((self basicAt:3) bitShift:16) +
|
|
440 |
((self basicAt:2) bitShift:8) +
|
|
441 |
(self basicAt:1)
|
|
442 |
|
|
443 |
"
|
|
444 |
1.2345 hash
|
|
445 |
1.2345 asShortFloat hash
|
|
446 |
1.0 hash
|
|
447 |
1.0 asShortFloat hash
|
|
448 |
"
|
|
449 |
!
|
|
450 |
|
|
451 |
~= aNumber
|
|
452 |
"return true, if the arguments value are not equal"
|
|
453 |
|
|
454 |
%{ /* NOCONTEXT */
|
|
455 |
|
|
456 |
if (__isSmallInteger(aNumber)) {
|
|
457 |
RETURN ( (__shortFloatVal(self) != (float)(__intVal(aNumber))) ? true : false );
|
|
458 |
}
|
|
459 |
if (__isFloatLike(aNumber)) {
|
|
460 |
RETURN ( (double)(__shortFloatVal(self) != __floatVal(aNumber)) ? true : false );
|
|
461 |
}
|
|
462 |
if (__isShortFloat(aNumber)) {
|
|
463 |
RETURN ( (__shortFloatVal(self) != __shortFloatVal(aNumber)) ? true : false );
|
|
464 |
}
|
|
465 |
%}.
|
|
466 |
^ self retry:#~= coercing:aNumber
|
|
467 |
|
|
468 |
! !
|
|
469 |
|
|
470 |
!ShortFloat methodsFor:'printing & storing'!
|
|
471 |
|
|
472 |
printString
|
|
473 |
"return a printed representation of the receiver"
|
|
474 |
|
|
475 |
%{ /* NOCONTEXT */
|
|
476 |
|
|
477 |
char buffer[64];
|
|
478 |
REGISTER char *cp;
|
|
479 |
OBJ s;
|
|
480 |
|
|
481 |
/*
|
|
482 |
* actually only needed on sparc: since thisContext is
|
|
483 |
* in a global register, which gets destroyed by printf,
|
|
484 |
* manually save it here - very stupid ...
|
|
485 |
*/
|
|
486 |
__BEGIN_PROTECT_REGISTERS__
|
|
487 |
|
|
488 |
#ifdef SYSV
|
|
489 |
sprintf(buffer, "%.6lg", (double)__shortFloatVal(self));
|
|
490 |
#else
|
|
491 |
sprintf(buffer, "%.6G", (double)__shortFloatVal(self));
|
|
492 |
#endif
|
|
493 |
|
|
494 |
__END_PROTECT_REGISTERS__
|
|
495 |
|
|
496 |
/*
|
|
497 |
* kludge to make integral float f prints as "f.0" (not as "f" as printf does)
|
|
498 |
* (i.e. look if string contains '.' or 'e' and append '.0' if not)
|
|
499 |
*/
|
|
500 |
for (cp = buffer; *cp; cp++) {
|
|
501 |
if ((*cp == '.') || (*cp == 'e')) break;
|
|
502 |
}
|
|
503 |
if (! *cp) {
|
|
504 |
*cp++ = '.';
|
|
505 |
*cp++ = '0';
|
|
506 |
*cp = '\0';
|
|
507 |
}
|
|
508 |
|
|
509 |
s = __MKSTRING(buffer COMMA_SND);
|
|
510 |
if (s != nil) {
|
|
511 |
RETURN (s);
|
|
512 |
}
|
|
513 |
%}.
|
|
514 |
"
|
|
515 |
memory allocation (for the new string) failed.
|
|
516 |
When we arrive here, there was no memory, even after a garbage collect.
|
|
517 |
This means, that the VM wanted to get some more memory from the
|
|
518 |
OS, which was not kind enough to give it.
|
|
519 |
Bad luck - you should increase the swap space on your machine.
|
|
520 |
"
|
|
521 |
^ ObjectMemory allocationFailureSignal raise.
|
|
522 |
! !
|
|
523 |
|
|
524 |
!ShortFloat methodsFor:'testing'!
|
|
525 |
|
|
526 |
negative
|
|
527 |
"return true if the receiver is less than zero"
|
|
528 |
|
|
529 |
%{ /* NOCONTEXT */
|
|
530 |
|
|
531 |
RETURN ( (__shortFloatVal(self) < 0.0) ? true : false );
|
|
532 |
%}
|
|
533 |
|
|
534 |
|
|
535 |
!
|
|
536 |
|
|
537 |
positive
|
|
538 |
"return true if the receiver is greater or equal to zero"
|
|
539 |
|
|
540 |
%{ /* NOCONTEXT */
|
|
541 |
|
|
542 |
RETURN ( (__shortFloatVal(self) >= 0.0) ? true : false );
|
|
543 |
%}
|
|
544 |
|
|
545 |
! !
|
|
546 |
|
|
547 |
!ShortFloat class methodsFor:'documentation'!
|
|
548 |
|
|
549 |
version
|
1295
|
550 |
^ '$Header: /cvs/stx/stx/libbasic/ShortFloat.st,v 1.6 1996-04-25 17:00:09 cg Exp $'
|
1197
|
551 |
! !
|