Be aware that 1000.0e171 = 1.0e174 answers false

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Be aware that 1000.0e171 = 1.0e174 answers false

Richard Sargent
Administrator
1000.0e171 and 1.0e174 both print as 1.0e174, but their internal representation differs in the LSB of the mantissa.

1000.0e171 is #[100 16 44 53 247 41 104 158] while
     1.0e174 is #[100 16 44 53 247 41 104 159].

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/ef4c2bfc-e42a-4e88-af12-6156a466e176%40googlegroups.com.