TypeExtensions: prevent implicit cast ulong -> double.