Skip to content
  • Nirbheek Chauhan's avatar
    Explicitly define float constants as float · f7908637
    Nirbheek Chauhan authored
    With MSVC, this gives the following warning:
    
    warning C4305: 'function': truncation from 'double' to 'gfloat'
    
    Apparently, MSVC does not figure out what type to use for constants
    based on the assignment. This warning is very spammy, so let's try to
    fix it.
    f7908637