Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualfrob

Posted 27 February 2014 - 10:28 PM

I don't believe the static cast is needed, unless your compiler has a nonstandard warning message.

Dividing the types char / float is going to follow a standards-required implicit conversion to make them the same types, float/float. Since the char value can be exactly represented by a float, no compiler message is required.

#1frob

Posted 27 February 2014 - 10:26 PM

I don't believe the static cast is needed, unless your compiler has a nonstandard warning message.

char / float is going to follow a standards-required implicit conversion to float/float. Since the value can be exactly represented no compiler message is required.

PARTNERS