GL_NV_gpu_shader5 doesn't support "hf", so to avoid lots of complicated workarounds, just value-cast the half literals.
Constants of 8-bit type aren't supported in GLSL, since there's no extension letting you use them.