--- a/QDouble.st Fri Nov 29 14:27:00 2019 +0100
+++ b/QDouble.st Fri Nov 29 14:42:54 2019 +0100
@@ -4420,26 +4420,20 @@
"return a printed representation of the receiver.
Notice:
- this code was adapted from an ugly piece of c++ code,
- which was obviously hacked.
- It does need a rework.
- As an alternative, use the printf functions, which should also deal wth QDoubles"
+ this code was adapted from an ugly piece of c++ code,
+ which was obviously hacked.
+ It does need a rework.
+ As an alternative, use the printf functions, which should also deal wth QDoubles"
self d1 = 0.0 ifTrue:[
- self d0 printOn:aStream.
- ^ self
+ self d0 printOn:aStream.
+ ^ self
].
thisContext isRecursive ifTrue:[
- aStream nextPutAll:'aQDouble (error while printing)'.
- ^ self.
+ aStream nextPutAll:'aQDouble (error while printing)'.
+ ^ self.
].
- self d0 printOn:aStream. aStream nextPutAll:'/'.
- self d1 printOn:aStream. aStream nextPutAll:'/'.
- self d2 printOn:aStream. aStream nextPutAll:'/'.
- self d3 printOn:aStream.
- ^ self.
-
PrintfScanf printf:'%g' on:aStream argument:self.
"/ self
@@ -5180,3 +5174,4 @@
version_CVS
^ '$Header$'
! !
+