Replace CTDouble with CTFloat

And replace use of "Double" with "Float" in error messaging and tests