fix Float16 inf and nan testing. ref #5290

correct help for frexp