test_decorate was checking for half-precision NAN incorrectly, calling cl_half_from_float where cl_half_to_float was intended, causing a wrong expected result.
test_decorate was also printing the expected and actual results reversed, printing "got -1, want 0", when our implementation already returned 0.
test_decorate was checking for half-precision NAN incorrectly, calling cl_half_from_float where cl_half_to_float was intended, causing a wrong expected result.
test_decorate was also printing the expected and actual results reversed, printing "got -1, want 0", when our implementation already returned 0.