fixed various float <> double implicit type casts