Be aware that 1000.0e171 = 1.0e174 answers false

25 views
Skip to first unread message

Richard Sargent

unread,
Oct 17, 2019, 6:34:11 PM10/17/19
to VA Smalltalk
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].

Reply all
Reply to author
Forward
0 new messages