This concerns me …
Doing an “=” comparison on integers is always exact and correct. It gets much dicier when doing “=” comparisons on floats, even those created via up-cast. True, the up-cast is deterministic, so up-casting two values “10” would result in identical values. However, calculating 10.0 as 100.0/10 would not be expected to compare equally to an up-cast “10”.
Do you have a perspective on this? … or maybe some accuracy-preserving compare strategy??
--
You received this message because you are subscribed to the Google Groups "cytoscape-helpdesk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-helpd...@googlegroups.com.
To post to this group, send email to cytoscape...@googlegroups.com.
Visit this group at https://groups.google.com/group/cytoscape-helpdesk.
For more options, visit https://groups.google.com/d/optout.
Yeah … if we can get a defensible comparison strategy and it sometimes produces different results than the existing comparisons, we’ll need to have a Properties setting to allow a user to fall back onto an outcome consistent with previous results.
Glad you’re on this.