Update is_floating_point
to handle bfloat16
#7133
Merged
is_floating_point
to handle bfloat16
#7133