support equality testing of Nums (and numbers)