|
Post by tsh73 on Apr 4, 2022 16:08:26 GMT -5
The point is, there is no one in LB5. I dunno, may be it is a good thing. on error goto [q] x=1 while x>0 oldx=x x=x/10 wend print "no err" print oldx end
[q] print "err", Err$ print oldx LB4x: err Float underflow exception 1.0e-307 LB5.353: no err 9.8813129168249e-324 It just decreases until it becames 0, no error in a process. (actually sounds good for me) I really expected it to end at around 1e-308, but no. Wikipedia::Double-precision_floating-point_format says So obviously this is "subnormal representation". Is there something bad to expect out of it?
|
|
|
Post by Carl Gundel on Apr 4, 2022 16:17:09 GMT -5
Well, it's interesting. Both LB4 and LB5 rely on the floating point implementation of the Smalltalk they are built upon. These two Smalltalk's approach this issue differently.
|
|