Modified Tuple to work with floats, doubles, BigDecimals, BigIntegers.

This is equivalent to `floatingPointEncoding()` above, except for the initial value to check against, right? Could probably move that to a parameter and save some repetition.