On some legacy code I have been using the compiler settings to promote floating point single precision constants to double and have default real as double.
I want to make the code standard by declaring constants as double but there are so many hidden away it is difficult to know if I have gotten them all.
I would like is a compiler setting to warn me of any constants that are single precsion. I use so few single precision on purpose that a global project setting would be fine.
Does anyone else see this idea as useful ?