tests for real numbers