Replace CTDouble with CTFloat

And replace use of "Double" with "Float" in error messaging and tests
Merge pull request #1938 from cleishm/ctfloat

Replace CTDouble with CTFloat