- All Implemented Interfaces:
- DynamicInitIF, RuleIF, ObjectValidationIF
public class RelatedNumbersRule
extends RelatedNumbersRuleBaseImpl
On the surface, this seems like a pretty trivial rule, but things get interesting
when you consider that we want to be able to handle comparisons between all different
numeric types. For simplicity, we do all comparisons using Double, but we can get into
difficulty when we get near the boundaries, so beware!
http://en.wikipedia.org/wiki/Strictfp
http://stackoverflow.com/questions/4349155/ieee-754-double-64-bit-floating-point-vs-long-64-bit-integer-revisited