author | Claus Gittinger <cg@exept.de> |
Tue, 28 Oct 1997 20:12:59 +0100 | |
changeset 3060 | 0faf242e1142 |
parent 2793 | e40dedf51177 |
child 3137 | f334b17f0347 |
permissions | -rw-r--r-- |
55 | 1 |
" |
2 |
COPYRIGHT (c) 1994 by Claus Gittinger |
|
213 | 3 |
All Rights Reserved |
55 | 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 |
||
3060 | 13 |
'From Smalltalk/X, Version:3.2.1 on 25-oct-1997 at 9:25:42 pm' ! |
14 |
||
55 | 15 |
Number subclass:#LimitedPrecisionReal |
1200 | 16 |
instanceVariableNames:'' |
17 |
classVariableNames:'' |
|
18 |
poolDictionaries:'' |
|
19 |
category:'Magnitude-Numbers' |
|
55 | 20 |
! |
21 |
||
88 | 22 |
!LimitedPrecisionReal class methodsFor:'documentation'! |
23 |
||
24 |
copyright |
|
25 |
" |
|
26 |
COPYRIGHT (c) 1994 by Claus Gittinger |
|
213 | 27 |
All Rights Reserved |
55 | 28 |
|
88 | 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 |
! |
|
55 | 37 |
|
88 | 38 |
documentation |
39 |
" |
|
40 |
Abstract superclass for single and double (and maybe more) |
|
41 |
precision real numbers (i.e. Float and Double). |
|
92 | 42 |
|
43 |
Due to historic reasons, ST/X's Floats are what Doubles are in ST-80. |
|
44 |
This may change soon (implementing LPReal is a first step towards this). |
|
1295 | 45 |
|
46 |
[author:] |
|
47 |
Claus Gittinger |
|
1893 | 48 |
|
49 |
[see also:] |
|
50 |
Fraction FixedPoint |
|
88 | 51 |
" |
52 |
! ! |
|
55 | 53 |
|
54 |
!LimitedPrecisionReal class methodsFor:'instance creation'! |
|
55 |
||
56 |
new:aNumber |
|
57 |
"catch this message - not allowed for floats/doubles" |
|
58 |
||
59 |
self error:'Floats/Doubles cannot be created with new:' |
|
60 |
! ! |
|
61 |
||
62 |
!LimitedPrecisionReal methodsFor:'accessing'! |
|
63 |
||
64 |
at:index |
|
65 |
"redefined to prevent access to individual bytes in a real." |
|
66 |
||
67 |
self error:'not allowed for floats/doubles' |
|
68 |
! |
|
69 |
||
70 |
at:index put:aValue |
|
71 |
"redefined to prevent access to individual bytes in a real" |
|
72 |
||
73 |
self error:'not allowed for floats/doubles' |
|
701 | 74 |
! |
75 |
||
76 |
size |
|
77 |
"redefined since reals are kludgy (ByteArry)" |
|
78 |
||
79 |
^ 0 |
|
55 | 80 |
! ! |
81 |
||
82 |
!LimitedPrecisionReal methodsFor:'arithmetic'! |
|
83 |
||
701 | 84 |
* aNumber |
85 |
"return the product of the receiver and the argument, aNumber" |
|
86 |
||
1200 | 87 |
"/ as soon as Float are float & Double are doubles, |
88 |
"/ use: |
|
89 |
"/ ^ aNumber productFromDouble:self asDouble |
|
90 |
||
91 |
^ aNumber productFromFloat:self asFloat |
|
92 |
||
93 |
"Modified: 17.4.1996 / 12:35:36 / cg" |
|
701 | 94 |
! |
95 |
||
55 | 96 |
+ aNumber |
97 |
"return the sum of the receiver and the argument, aNumber" |
|
98 |
||
1200 | 99 |
"/ as soon as Float are float & Double are doubles, |
100 |
"/ use: |
|
101 |
"/ ^ aNumber sumFromDouble:self asDouble |
|
102 |
||
103 |
^ aNumber sumFromFloat:self asFloat |
|
104 |
||
105 |
"Modified: 17.4.1996 / 12:35:55 / cg" |
|
55 | 106 |
! |
107 |
||
108 |
- aNumber |
|
109 |
"return the difference of the receiver and the argument, aNumber" |
|
110 |
||
1200 | 111 |
"/ as soon as Float are float & Double are doubles, |
112 |
"/ use: |
|
113 |
"/ ^ aNumber differenceFromDouble:self asDouble |
|
114 |
||
115 |
^ aNumber differenceFromFloat:self asFloat |
|
116 |
||
117 |
"Modified: 17.4.1996 / 12:36:07 / cg" |
|
55 | 118 |
! |
119 |
||
120 |
/ aNumber |
|
121 |
"return the quotient of the receiver and the argument, aNumber" |
|
122 |
||
123 |
((aNumber == 0) or:[aNumber = 0.0]) ifTrue:[ |
|
1200 | 124 |
^ DivisionByZeroSignal raise. |
55 | 125 |
]. |
1200 | 126 |
"/ as soon as Float are float & Double are doubles, |
127 |
"/ use: |
|
128 |
"/ ^ aNumber quotientFromDouble:self asDouble |
|
129 |
||
130 |
^ aNumber quotientFromFloat:self asFloat |
|
131 |
||
132 |
"Modified: 17.4.1996 / 12:36:21 / cg" |
|
55 | 133 |
! |
134 |
||
135 |
// aNumber |
|
136 |
"return the integer quotient of dividing the receiver by aNumber with |
|
1882 | 137 |
truncation towards negative infinity." |
55 | 138 |
|
139 |
^ (self / aNumber) floor asInteger |
|
1882 | 140 |
|
141 |
"Modified: 5.11.1996 / 11:45:37 / cg" |
|
55 | 142 |
! |
143 |
||
144 |
\\ aNumber |
|
145 |
"return the integer remainder of dividing the receiver by aNumber with |
|
146 |
truncation towards negative infinity." |
|
147 |
||
148 |
^ (self - ((self / aNumber) floor * aNumber)) floor asInteger |
|
149 |
! ! |
|
150 |
||
151 |
!LimitedPrecisionReal methodsFor:'coercion and converting'! |
|
152 |
||
2141 | 153 |
asFixedPoint |
154 |
"return the receiver as fixedPoint number. |
|
155 |
Q: what should the scale be here ?" |
|
156 |
||
157 |
^ self asFraction asFixedPoint |
|
158 |
||
159 |
" |
|
160 |
0.3 asFixedPoint |
|
161 |
0.5 asFixedPoint |
|
162 |
(1/5) asFloat asFixedPoint |
|
163 |
(1/3) asFloat asFixedPoint |
|
164 |
(2/3) asFloat asFixedPoint |
|
165 |
(1/8) asFloat asFixedPoint |
|
166 |
3.14159 asFixedPoint |
|
3060 | 167 |
0.0000001 asFraction |
168 |
0.0000001 asFixedPoint |
|
2141 | 169 |
" |
170 |
||
3060 | 171 |
"Modified: / 25.10.1997 / 15:36:54 / cg" |
2141 | 172 |
! |
173 |
||
174 |
asFixedPoint:scale |
|
175 |
"return the receiver as fixedPoint number with the given |
|
176 |
number of post-decimal-digits." |
|
177 |
||
178 |
^ self asFraction asFixedPoint:scale |
|
179 |
||
180 |
" |
|
181 |
0.3 asFixedPoint:3 |
|
182 |
0.5 asFixedPoint:3 |
|
183 |
(1/5) asFloat asFixedPoint:1 |
|
184 |
(1/8) asFloat asFixedPoint:1 |
|
185 |
3.14159 asFixedPoint:2 |
|
186 |
3.14159 asFixedPoint:3 |
|
187 |
(3.14159 asFixedPoint:2) asFixedPoint:5 |
|
188 |
" |
|
189 |
||
190 |
"Modified: 10.1.1997 / 19:59:42 / cg" |
|
191 |
! |
|
192 |
||
55 | 193 |
asFraction |
3060 | 194 |
"return a corresponding fraction or integer |
195 |
(fractions with 1 as denominator are not allowed/useful) |
|
55 | 196 |
- notice, that 'aFract asFloat asFraction' does not always return |
197 |
a good fraction ... due to rounding errors when converting to float" |
|
198 |
||
3060 | 199 |
|fract digits power num denom eI| |
55 | 200 |
|
201 |
"we (indirectly) use printf which knows the precision of floats" |
|
202 |
||
203 |
fract := self fractionPart. |
|
3060 | 204 |
fract = 0.0 ifTrue:[ |
205 |
^ self asInteger. |
|
206 |
]. |
|
207 |
||
208 |
"/ use printf, so we dont need to know anything |
|
209 |
"/ about float representation here. |
|
210 |
||
211 |
digits := (fract printfPrintString:'%.16f'). |
|
212 |
eI := digits size. |
|
213 |
[(digits at:eI) == $0] whileTrue:[ |
|
214 |
eI := eI - 1 |
|
215 |
]. |
|
216 |
||
217 |
power := eI - 3 + 1. |
|
55 | 218 |
num := (self - fract) asInteger. |
219 |
denom := (10 raisedToInteger:power). |
|
220 |
num := num * denom. |
|
3060 | 221 |
num := num + (fract * denom) asInteger. |
222 |
||
2793 | 223 |
^ Fraction numerator:num denominator:denom |
55 | 224 |
|
3060 | 225 |
" |
226 |
0.3 asFraction |
|
227 |
0.5 asFraction |
|
228 |
(1/5) asFloat asFraction |
|
229 |
(1/8) asFloat asFraction |
|
230 |
(1/13) asFloat asFraction |
|
231 |
3.14159 asFraction |
|
232 |
1.3 asFraction |
|
233 |
1.0 asFraction |
|
234 |
" |
|
2793 | 235 |
|
3060 | 236 |
"Modified: / 25.10.1997 / 16:41:19 / cg" |
55 | 237 |
! |
238 |
||
239 |
asInteger |
|
240 |
"return an integer with same value - might truncate" |
|
241 |
||
242 |
|l v sign| |
|
243 |
||
2388 | 244 |
self isNaN ifTrue:[ |
245 |
^ DomainErrorSignal raise |
|
246 |
]. |
|
247 |
||
55 | 248 |
"this is stupid code - rounding errors accumulate; fix later" |
249 |
||
250 |
sign := self sign. |
|
251 |
v := self abs. |
|
85 | 252 |
(v >= 10.0) ifTrue:[ |
2388 | 253 |
l := (v / 10.0) asInteger * 10 |
55 | 254 |
] ifFalse:[ |
2388 | 255 |
l := 0 |
55 | 256 |
]. |
85 | 257 |
v := v - ((v / 10.0) floor * 10) floor. |
55 | 258 |
l := l + v truncated. |
259 |
^ l * sign |
|
260 |
||
261 |
"12345.0 asInteger" |
|
262 |
"1e15 asInteger" |
|
2388 | 263 |
|
264 |
"Modified: 12.2.1997 / 16:45:07 / cg" |
|
701 | 265 |
! |
266 |
||
267 |
coerce:aNumber |
|
268 |
"return aNumber converted into receivers type" |
|
269 |
||
1200 | 270 |
"/ as soon as Float are float & Double are doubles, |
271 |
"/ use: |
|
272 |
"/ ^ aNumber asDouble |
|
273 |
||
274 |
^ aNumber asFloat |
|
275 |
||
276 |
"Modified: 17.4.1996 / 12:36:46 / cg" |
|
701 | 277 |
! |
278 |
||
279 |
generality |
|
280 |
"return the generality value - see ArithmeticValue>>retry:coercing:" |
|
281 |
||
282 |
^ 80 |
|
283 |
! ! |
|
284 |
||
285 |
!LimitedPrecisionReal methodsFor:'comparing'! |
|
286 |
||
287 |
< aNumber |
|
288 |
"return true, if the argument is greater" |
|
289 |
||
1201
24a5faa7e305
oops - asDouble is not yet there
Claus Gittinger <cg@exept.de>
parents:
1200
diff
changeset
|
290 |
"/ as soon as Float are float & Double are doubles, |
24a5faa7e305
oops - asDouble is not yet there
Claus Gittinger <cg@exept.de>
parents:
1200
diff
changeset
|
291 |
"/ use: |
24a5faa7e305
oops - asDouble is not yet there
Claus Gittinger <cg@exept.de>
parents:
1200
diff
changeset
|
292 |
"/ ^ aNumber lessFromDouble:self asDouble |
24a5faa7e305
oops - asDouble is not yet there
Claus Gittinger <cg@exept.de>
parents:
1200
diff
changeset
|
293 |
|
24a5faa7e305
oops - asDouble is not yet there
Claus Gittinger <cg@exept.de>
parents:
1200
diff
changeset
|
294 |
^ aNumber lessFromFloat:self asFloat |
24a5faa7e305
oops - asDouble is not yet there
Claus Gittinger <cg@exept.de>
parents:
1200
diff
changeset
|
295 |
|
24a5faa7e305
oops - asDouble is not yet there
Claus Gittinger <cg@exept.de>
parents:
1200
diff
changeset
|
296 |
"Modified: 17.4.1996 / 13:34:50 / cg" |
701 | 297 |
! |
298 |
||
299 |
<= aNumber |
|
300 |
"return true, if the argument is greater or equal" |
|
301 |
||
302 |
^ self retry:#<= coercing:aNumber |
|
303 |
! |
|
304 |
||
305 |
= aNumber |
|
306 |
"return true, if the arguments value are equal" |
|
307 |
||
308 |
^ self retry:#= coercing:aNumber |
|
309 |
! |
|
310 |
||
311 |
> aNumber |
|
312 |
"return true, if the argument is less" |
|
313 |
||
314 |
^ self retry:#> coercing:aNumber |
|
315 |
! |
|
316 |
||
317 |
>= aNumber |
|
318 |
"return true, if the argument is less or equal" |
|
319 |
||
320 |
^ self retry:#>= coercing:aNumber |
|
321 |
! |
|
322 |
||
323 |
~= aNumber |
|
324 |
"return true, if the arguments value are not equal" |
|
325 |
||
326 |
^ self retry:#~= coercing:aNumber |
|
327 |
! ! |
|
328 |
||
329 |
!LimitedPrecisionReal methodsFor:'copying'! |
|
330 |
||
331 |
deepCopy |
|
332 |
"return a deep copy of myself |
|
333 |
- because storing into floats is not recommended/allowed, its ok to return the receiver" |
|
334 |
||
335 |
^ self |
|
336 |
! |
|
337 |
||
338 |
deepCopyUsing:aDictionary |
|
339 |
"return a deep copy of myself |
|
340 |
- because storing into floats is not recommended/allowed, its ok to return the receiver" |
|
341 |
||
342 |
^ self |
|
343 |
! |
|
344 |
||
345 |
shallowCopy |
|
346 |
"return a shallow copy of the receiver" |
|
347 |
||
348 |
^ self |
|
349 |
! |
|
350 |
||
351 |
simpleDeepCopy |
|
352 |
"return a deep copy of the receiver |
|
353 |
- because storing into floats is not recommended/allowed, its ok to return the receiver" |
|
354 |
||
355 |
^ self |
|
55 | 356 |
! ! |
357 |
||
358 |
!LimitedPrecisionReal methodsFor:'double dispatching'! |
|
359 |
||
360 |
differenceFromFraction:aFraction |
|
213 | 361 |
"sent when a fraction does not know how to subtract the receiver, a float" |
55 | 362 |
|
363 |
|d| |
|
364 |
||
365 |
d := aFraction denominator. |
|
366 |
^ (aFraction numerator - (self * d)) / d |
|
367 |
! |
|
368 |
||
369 |
productFromFraction:aFraction |
|
213 | 370 |
"sent when a fraction does not know how to multiply the receiver, a float" |
55 | 371 |
|
372 |
^ self * aFraction numerator / aFraction denominator |
|
373 |
! |
|
374 |
||
375 |
quotientFromFraction:aFraction |
|
213 | 376 |
"sent when a fraction does not know how to divide by the receiver, a float" |
55 | 377 |
|
378 |
^ aFraction numerator / (self * aFraction denominator) |
|
701 | 379 |
! |
380 |
||
381 |
sumFromFraction:aFraction |
|
382 |
"sent when a fraction does not know how to add the receiver, a float" |
|
383 |
||
384 |
|d| |
|
385 |
||
386 |
d := aFraction denominator. |
|
387 |
^ (self * d + aFraction numerator) / d |
|
388 |
! ! |
|
389 |
||
390 |
!LimitedPrecisionReal methodsFor:'printing & storing'! |
|
391 |
||
392 |
printOn:aStream |
|
393 |
"append a printed representation of the receiver to |
|
394 |
the argument, aStream" |
|
395 |
||
396 |
aStream nextPutAll:self printString |
|
1200 | 397 |
! |
398 |
||
399 |
printString |
|
400 |
"return a printed representation of the receiver" |
|
401 |
||
402 |
^ self subclassResponsibility |
|
403 |
||
404 |
"Created: 17.4.1996 / 12:12:20 / cg" |
|
701 | 405 |
! ! |
406 |
||
407 |
!LimitedPrecisionReal methodsFor:'testing'! |
|
408 |
||
2388 | 409 |
isNaN |
410 |
^ self subclassResponsibility |
|
411 |
||
412 |
"Modified: 12.2.1997 / 16:45:27 / cg" |
|
413 |
! |
|
414 |
||
701 | 415 |
isReal |
416 |
"return true, if the receiver is some kind of real number; |
|
417 |
false is returned here - the method is redefined from Object." |
|
418 |
||
419 |
^ true |
|
420 |
! |
|
421 |
||
422 |
negative |
|
423 |
"return true if the receiver is less than zero" |
|
424 |
||
1201
24a5faa7e305
oops - asDouble is not yet there
Claus Gittinger <cg@exept.de>
parents:
1200
diff
changeset
|
425 |
"/ as soon as Float are float & Double are doubles, |
24a5faa7e305
oops - asDouble is not yet there
Claus Gittinger <cg@exept.de>
parents:
1200
diff
changeset
|
426 |
"/ use: |
24a5faa7e305
oops - asDouble is not yet there
Claus Gittinger <cg@exept.de>
parents:
1200
diff
changeset
|
427 |
"/ ^ self asDouble negative |
24a5faa7e305
oops - asDouble is not yet there
Claus Gittinger <cg@exept.de>
parents:
1200
diff
changeset
|
428 |
|
24a5faa7e305
oops - asDouble is not yet there
Claus Gittinger <cg@exept.de>
parents:
1200
diff
changeset
|
429 |
^ self asFloat negative |
24a5faa7e305
oops - asDouble is not yet there
Claus Gittinger <cg@exept.de>
parents:
1200
diff
changeset
|
430 |
|
24a5faa7e305
oops - asDouble is not yet there
Claus Gittinger <cg@exept.de>
parents:
1200
diff
changeset
|
431 |
"Modified: 17.4.1996 / 13:35:00 / cg" |
701 | 432 |
! |
433 |
||
434 |
positive |
|
435 |
"return true if the receiver is greater or equal to zero" |
|
436 |
||
1201
24a5faa7e305
oops - asDouble is not yet there
Claus Gittinger <cg@exept.de>
parents:
1200
diff
changeset
|
437 |
"/ as soon as Float are float & Double are doubles, |
24a5faa7e305
oops - asDouble is not yet there
Claus Gittinger <cg@exept.de>
parents:
1200
diff
changeset
|
438 |
"/ use: |
24a5faa7e305
oops - asDouble is not yet there
Claus Gittinger <cg@exept.de>
parents:
1200
diff
changeset
|
439 |
"/ ^ self asDouble positive |
24a5faa7e305
oops - asDouble is not yet there
Claus Gittinger <cg@exept.de>
parents:
1200
diff
changeset
|
440 |
|
24a5faa7e305
oops - asDouble is not yet there
Claus Gittinger <cg@exept.de>
parents:
1200
diff
changeset
|
441 |
^ self asFloat positive |
24a5faa7e305
oops - asDouble is not yet there
Claus Gittinger <cg@exept.de>
parents:
1200
diff
changeset
|
442 |
|
24a5faa7e305
oops - asDouble is not yet there
Claus Gittinger <cg@exept.de>
parents:
1200
diff
changeset
|
443 |
"Modified: 17.4.1996 / 13:35:10 / cg" |
55 | 444 |
! ! |
445 |
||
446 |
!LimitedPrecisionReal methodsFor:'truncation and rounding'! |
|
447 |
||
448 |
fractionPart |
|
1865
5168897c326f
added integerPart for protocol completeness
Claus Gittinger <cg@exept.de>
parents:
1295
diff
changeset
|
449 |
"return a float with value from digits after the decimal point. |
5168897c326f
added integerPart for protocol completeness
Claus Gittinger <cg@exept.de>
parents:
1295
diff
changeset
|
450 |
(i.e. the receiver minus its truncated value)" |
55 | 451 |
|
452 |
^ self - self truncated asFloat |
|
453 |
||
1865
5168897c326f
added integerPart for protocol completeness
Claus Gittinger <cg@exept.de>
parents:
1295
diff
changeset
|
454 |
" |
5168897c326f
added integerPart for protocol completeness
Claus Gittinger <cg@exept.de>
parents:
1295
diff
changeset
|
455 |
1234.56789 fractionPart |
5168897c326f
added integerPart for protocol completeness
Claus Gittinger <cg@exept.de>
parents:
1295
diff
changeset
|
456 |
1.2345e6 fractionPart |
5168897c326f
added integerPart for protocol completeness
Claus Gittinger <cg@exept.de>
parents:
1295
diff
changeset
|
457 |
" |
5168897c326f
added integerPart for protocol completeness
Claus Gittinger <cg@exept.de>
parents:
1295
diff
changeset
|
458 |
|
5168897c326f
added integerPart for protocol completeness
Claus Gittinger <cg@exept.de>
parents:
1295
diff
changeset
|
459 |
"Modified: 4.11.1996 / 20:26:54 / cg" |
5168897c326f
added integerPart for protocol completeness
Claus Gittinger <cg@exept.de>
parents:
1295
diff
changeset
|
460 |
! |
5168897c326f
added integerPart for protocol completeness
Claus Gittinger <cg@exept.de>
parents:
1295
diff
changeset
|
461 |
|
5168897c326f
added integerPart for protocol completeness
Claus Gittinger <cg@exept.de>
parents:
1295
diff
changeset
|
462 |
integerPart |
5168897c326f
added integerPart for protocol completeness
Claus Gittinger <cg@exept.de>
parents:
1295
diff
changeset
|
463 |
"return a float with value from digits before the decimal point |
5168897c326f
added integerPart for protocol completeness
Claus Gittinger <cg@exept.de>
parents:
1295
diff
changeset
|
464 |
(i.e. the truncated value)" |
5168897c326f
added integerPart for protocol completeness
Claus Gittinger <cg@exept.de>
parents:
1295
diff
changeset
|
465 |
|
5168897c326f
added integerPart for protocol completeness
Claus Gittinger <cg@exept.de>
parents:
1295
diff
changeset
|
466 |
^ self truncated asFloat |
5168897c326f
added integerPart for protocol completeness
Claus Gittinger <cg@exept.de>
parents:
1295
diff
changeset
|
467 |
|
5168897c326f
added integerPart for protocol completeness
Claus Gittinger <cg@exept.de>
parents:
1295
diff
changeset
|
468 |
" |
5168897c326f
added integerPart for protocol completeness
Claus Gittinger <cg@exept.de>
parents:
1295
diff
changeset
|
469 |
1234.56789 integerPart |
5168897c326f
added integerPart for protocol completeness
Claus Gittinger <cg@exept.de>
parents:
1295
diff
changeset
|
470 |
1.2345e6 integerPart |
5168897c326f
added integerPart for protocol completeness
Claus Gittinger <cg@exept.de>
parents:
1295
diff
changeset
|
471 |
" |
5168897c326f
added integerPart for protocol completeness
Claus Gittinger <cg@exept.de>
parents:
1295
diff
changeset
|
472 |
|
5168897c326f
added integerPart for protocol completeness
Claus Gittinger <cg@exept.de>
parents:
1295
diff
changeset
|
473 |
"Modified: 4.11.1996 / 20:26:21 / cg" |
55 | 474 |
! ! |
475 |
||
701 | 476 |
!LimitedPrecisionReal class methodsFor:'documentation'! |
55 | 477 |
|
701 | 478 |
version |
3060 | 479 |
^ '$Header: /cvs/stx/stx/libbasic/LimitedPrecisionReal.st,v 1.21 1997-10-28 19:12:03 cg Exp $' |
55 | 480 |
! ! |