Numeric utilities