Test, documentation and vim support for double precision constants