From: Roy S. <roy...@ic...> - 2006-10-06 20:39:46
|
What library code do we have that relies on a fuzzy TOLERANCE in operator== and operator!= in TypeVector and TypeTensor? I've got some singular benchmarks where the error bottoms out very quickly using the default TOLERANCE setting in those functions, but I don't want to make those equality tests exact (or even drop them down to TOLERANCE*TOLERANCE) without knowing what I might break by doing so. I assume there are a few real cases like identifying common hanging nodes where you have to be prepared for a little FPU error in the geometry arithmetic, but if possible I'd like to hunt those down and replace the operator== tests with a call to an explicitly named "fuzzy equality" method. --- Roy Stogner |